ecchronos
ecchronos copied to clipboard
Investigate Automating Releases
Story Description:
Currently releases of ecChronos need to be done manually. It would be nice to automate this so releases are performed with a click of the button. I think these points needs to be investigated in order to know what needs to be done:
- Set release version and next version
- Release from specific branch
- Merge forward if releasing from a branch, i.e not master
- Creating a release in github
- Updating changelog automatically
- GPG
Acceptance Criteria:
N/A
Definition of Done:
New issue(s) are created to automate the release process.
Notes:
See comments below.
Set release version and next version - We can use input params to workflow_dispatch for this. Release from specific branch - Whoever is triggering the workflow has to choose a branch from a drop-down list. The workflow will be run from that specific branch. I.e release workflow will need to exist for all branches. The branch name can be accessed from GITHUB_REF variable.
Maven deploy plugin should be replaced with nexus-maven-plugin
GPG - Use this action. Also we need some kind of a generic GPG key, i.e not tied to a specific person. Same goes for sonatype user/pwd.