Closed felix-seifert closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
4a18372
) 76.84% compared to head (f7e9f0e
) 76.86%. Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
With this PR, we step closer towards automating our release. I introduce the workflow
prepare-release
, which automates the steps which had to be performed locally before.The workflow can be triggered as a
workflow_dispatch
together with selecting whether it is aPATCH
,MINOR
orMAJOR
release. When triggered, it computes the necessary versions via themaven-version-determiner.py
and callsmvn release:prepare
with these versions.As the Maven release plugin pushes commits during its
prepare
step, the action also tries to push to GitHub. To enable these pushes via the SSH connection, I use the foreign Actionwebfactory/ssh-agent
. For this action, I generated an SSH keypair which I set as a deploy key and a secret.The idea is that the workflow
release
picks up the new commits and publishes the build of the tagged commit as a new release on Maven Central.