fix: version generation on github actions
It seems that the `echo` in github actions shell does not support the
`-e` parameter.
@@ -54,7 +54,9 @@ gitlint:
gitlint --commits "origin..HEAD"
prepare_version:
- echo -e "package cmd\n\nconst Version = \"$$(git describe --tags)\"" > cmd/version.go
+ echo "package cmd" > cmd/version.go
+ echo "const Version = \"$$(git describe --tags)\"" >> cmd/version.go
+ cat cmd/version.go
.PHONY: tools
tools:
