Goreleaser: Version should strip leading "v"

Created on 24 Apr 2017  路  2Comments  路  Source: goreleaser/goreleaser

See https://github.com/spf13/hugo/releases/tag/v0.20.3

I did not notice this until I tried to upgrade a site ... That we now have a "v" in the filename:

hugo_v0.20.3_Linux-64bit.tar.gz

I assume this is a bug in Goreleaser, or you should at least provide a way to remove that from the tag.

bug

Most helpful comment

Bug. Once upon a time the .Version was the tag name, but it was later changed, and this behavior is probably not optimal since then.

I'll add a .Tag atribute to the name template, should fix the issue.

All 2 comments

Bug. Once upon a time the .Version was the tag name, but it was later changed, and this behavior is probably not optimal since then.

I'll add a .Tag atribute to the name template, should fix the issue.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yml picture yml  路  5Comments

jonfriesen picture jonfriesen  路  4Comments

angelbarrera92 picture angelbarrera92  路  3Comments

tj picture tj  路  5Comments

Ilyes512 picture Ilyes512  路  3Comments