ecchronos icon indicating copy to clipboard operation
ecchronos copied to clipboard

Investigate Automating Releases

Open masokol opened this issue 1 year ago • 3 comments

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.

masokol avatar Oct 13 '23 10:10 masokol

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.

masokol avatar Oct 16 '23 11:10 masokol

Maven deploy plugin should be replaced with nexus-maven-plugin

masokol avatar Oct 16 '23 12:10 masokol

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.

masokol avatar Oct 16 '23 12:10 masokol