elastic / elastic-otel-java

Apache License 2.0
9 stars 9 forks source link

Release process: allow skipping maven-publish in case of retriggers of the workflow #153

Closed JonasKunz closed 5 months ago

JonasKunz commented 5 months ago

The await-maven-artifact job and all its dependents should not depend on the actual release-task:

It is possible that the maven-publish succeeded, but something else was wrong with the workflow (e.g. the GH-release could not be created due to a workflow error).

In that case we'll need to update the workflow and retrigger the release while skipping the maven-central deployment. This will only work if those follow up jobs don't directly depend on the release job, because otherwise they'll be skipped aswell.