From 13d00ee972d45b2f391e8b425986936f1e622fc0 Mon Sep 17 00:00:00 2001 From: mms-gianni Date: Tue, 2 Mar 2021 21:39:32 +0100 Subject: [PATCH] some workflow fixes --- .github/workflows/release.yml | 4 ++-- main/main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b3d1fb..8b06e8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 \ No newline at end of file diff --git a/main/main.go b/main/main.go index 016ac9e..e63def6 100644 --- a/main/main.go +++ b/main/main.go @@ -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 {