github.ref->github.ref_name as version variable.

This commit is contained in:
fiatjaf 2024-09-15 09:04:52 -03:00
parent 9d02301b2d
commit bd5ca27661

View File

@ -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