From 5bd38f73034fcba6c84068f67f91052246731a3b Mon Sep 17 00:00:00 2001 From: Riccardo Schirone Date: Sun, 16 Oct 2022 01:16:41 +0200 Subject: [PATCH] v0.1.5 with no 'v' before github.ref_name --- .github/workflows/release.yml | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b8a028..023a08e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - name: Check version matches run: | - [[ "v$(grep app.Version main.go | sed -r 's/.*\"([0-9\.]+)\"/\1/')" =~ "v${{ github.ref_name }}" ]] + [[ "v$(grep app.Version main.go | sed -r 's/.*\"([0-9\.]+)\"/\1/')" =~ "${{ github.ref_name }}" ]] - name: Create Release id: create_release uses: actions/create-release@v1 diff --git a/main.go b/main.go index fe95011..1184601 100644 --- a/main.go +++ b/main.go @@ -70,7 +70,7 @@ func main() { app := cli.NewApp() app.Name = "rz-pm" app.Usage = "rizin package manager" - app.Version = "0.1.4" + app.Version = "0.1.5" app.Flags = []cli.Flag{ &cli.BoolFlag{