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