Build Snapshot Release
To build and test the goreleaser packages, snapshot releases are used. Snapshots use the commit hash as version, instead
of a valid semantic versioned tag. All generated artifacts are stored in a beforehand emptied directory
Build Production Release
Needs environment variable
GITHUB_TOKEN set for publishing releases and changelogs depending on
- Get the latest released tag.
git describe --tags --abbrev=0
Increment the version, create the tag and push to main repository. Commit tags use the format Semantic Versioning. The tag description can be the semantic version.
git tag -a v0.0.0 -m "v0.0.0" git push
The build and deployment of the production release / binaries is part of the github pipeline.