Closed cfergeau closed 7 months ago
Anjan was suggesting to look into goreleaser instead, which is also an interesting option, as long as it lets us define the version in a single place. https://goreleaser.com/ci/actions/
This was fixed in https://github.com/crc-org/vfkit/pull/69
When making a release, the version in cmd/vfkit/root.go needs to be updated even if we push a tag with the same information. We could adapt https://github.com/git/git/blob/master/GIT-VERSION-GEN and use golang ldflags in order to automatically generate the correct version.