Skip to content

Commit

Permalink
some workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Mar 2, 2021
1 parent 156b561 commit 13d00ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: bump_version
run: |
export VERSION=$(echo ${{ github.ref }} | awk -F'/' '{print $3}')
sed -i 's/DEV-VERSION/$VERSION/g' main/main.go
sed -i "s/DEV-VERSION/$VERSION/g" main/main.go
- name: Build
id: build_release
Expand Down Expand Up @@ -73,6 +73,6 @@ jobs:
run: |
git config --global user.email "gicara+gitproject@gmail.com"
git config --global user.name "Build Job"
git add .
git add cmd/git-project/*.64bit
git commit -m "added rebuilded binaries"
git push origin HEAD:master
2 changes: 1 addition & 1 deletion main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func addDefaultOptions(cli *clif.Cli) {
}

func main() {
cli := clif.New("git-project", "$VERSION", "Manage your github projects with git cli")
cli := clif.New("git-project", "DEV-VERSION", "Manage your github projects with git cli")
addDefaultOptions(cli)

for _, cb := range commands.Commands {
Expand Down

0 comments on commit 13d00ee

Please sign in to comment.