From bd5ca276616996355e546b0f33313a7f2b8e64ab Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 15 Sep 2024 09:04:52 -0300 Subject: [PATCH] github.ref->github.ref_name as version variable. --- .github/workflows/release-cli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index a515176..d794d94 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -40,7 +40,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - ldflags: -X main.version=${{ github.ref }} + ldflags: -X main.version=${{ github.ref_name }} overwrite: true md5sum: false sha256sum: false