-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add release workflow and config #5209
Conversation
Created `.github/workflows/jreleaser.yml` to trigger the next release version. The workflow dispatches on user input for `major`, `minor`, and `patch` versions by setting up the environment using JDK 11, Go, and `semver`. Configuration files such as `.gitignore` and `jreleaser.yml` were also updated to ignore specific files and to set the `MIT` license.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot
@I-Al-Istannen had the brilliant idea to make the release commit on a new branch and if the tests etc. succeed we fast-forward this branch to master. This guards as against failures of tests during the release process. |
thanks a lot @MartinWitt , we'll try the workflow together next week. |
This is a jreleaser workflow we already use for maven lockfile. The secrets are set, see
There workflow itself is pretty easy. You have a dropdown menu and decide if you want a patch/minor/major release. JReleaser updates the version and does the release to maven-central and github. If you want some extra feature have a look at https://jreleaser.org/guide/latest/reference/index.html. There are a lot of possibilities.