Closed OrlovEvgeny closed 3 years ago
Resolve issue https://github.com/brianstrauch/spotify-cli/issues/30 Add ldflags for sets application version (https://goreleaser.com/customization/build/)
example for dev environment:
$ goreleaser release --snapshot --skip-publish --rm-dist $ ./spotify-cli --version spotify version v1.9.2-SNAPSHOT-0ebcff2 commit: 0ebcff245e7d750ead4a11e0b1ce50f9c9beb40a built at: 2021-07-20T20:11:53Z
How to use. (example: https://goreleaser.com/quick-start/) example:
git tag -a v1.9.3 -m "new best features"
git push origin v1.9.3
Thank you, this is awesome!
Resolve issue https://github.com/brianstrauch/spotify-cli/issues/30 Add ldflags for sets application version (https://goreleaser.com/customization/build/)
example for dev environment:
How to use. (example: https://goreleaser.com/quick-start/) example:
git tag -a v1.9.3 -m "new best features"
git push origin v1.9.3
And goreleaser auto sets version for app.