Skip to content

Improve CI Release Workflow#2208

Merged
hyperxpro merged 1 commit into
mainfrom
ci/release-plugin-autobump
Jun 21, 2026
Merged

Improve CI Release Workflow#2208
hyperxpro merged 1 commit into
mainfrom
ci/release-plugin-autobump

Conversation

@hyperxpro

@hyperxpro hyperxpro commented Jun 21, 2026

Copy link
Copy Markdown
Member

Motivation:

The Release workflow failed on every push to main — it ran mvnw deploy on each commit, but main sat on the already-released 3.0.11, and Maven Central rejected re-publishing immutable coordinates (async-http-client@3.0.11 already exists).

Modification:

Keep main on -SNAPSHOT and drive releases via maven-release-plugin — pushes deploy SNAPSHOTs, while a manual workflow_dispatch release checkbox strips -SNAPSHOT, tags, publishes to Central (autoPublish=true), and auto-bumps to the next -SNAPSHOT.

Result:

Pushes publish SNAPSHOTs without collision and final releases are a one-click auto-bumping run, so the pipeline no longer fails on every commit.

@hyperxpro hyperxpro merged commit 9e47ba7 into main Jun 21, 2026
17 checks passed
@hyperxpro hyperxpro deleted the ci/release-plugin-autobump branch June 21, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant