Closed dobegor closed 3 years ago
Perhaps it would be worthwhile to create a Makefile
?
Perhaps it would be worthwhile to create a
Makefile
?
I think we'll either create a Makefile or use Goreleaser, which covers it - whichever we'd able to finish in a given timeline - so I left this out here
How is the Date value set?
How is the Date value set?
It's just a string, goreleaser fills it with timestamp formatted https://goreleaser.com/cookbooks/using-main.version/
deploying manually you can just pipe date -u
there
Resolves #75
Currently it will have to be filled in manually like this:
go run -ldflags="-X 'github.com/kubeshop/kusk/version.Version=0.0.1' -X 'github.com/kubeshop/kusk/version.Commit=42'" main.go version
Later on we can fill this within Goreleaser (supports this out of the box).