go-eventually
go-eventually copied to clipboard
chore: add Github Actions to automate versioning release
I hate manual tagging because, as everything tasked to a human being, the human factor brings inherent error.
Since we're all ✨ software engineers here ✨ we can automate the tagging process when merging on main -- maybe after the tests have passed?
NOTE: for each feature, a minor release should be used, and fix or minor branch, a patch release should be used instead.
EDIT: instead of using a continuous deployment style for library releases, the pipeline could:
- Be created using
release/vX.X.X - Ensure the version is a correct and valid semantic version
- Ensure the
CHANGELOG.mdfile is present and up-to-date
Upon merging this branch:
- A new
git tagis released proxy.golang.orgis called to force scanning from pkg.go.dev- Package and upload a code release on Github Releases