Skip to content

Fail release if tag and POM version are out of sync - #7

Merged
boronine merged 1 commit into
hsluv:masterfrom
boronine-bot:enforce-version-sync
Aug 16, 2026
Merged

Fail release if tag and POM version are out of sync#7
boronine merged 1 commit into
hsluv:masterfrom
boronine-bot:enforce-version-sync

Conversation

@boronine-bot

Copy link
Copy Markdown
Contributor

Adds a guard step to release.yml that compares the git tag (e.g. v1.0.1) with the pom.xml <version> and aborts the workflow on mismatch, so a wrong version can't be silently published.

Skipped for workflow_dispatch runs (no tag).

@boronine
boronine merged commit 194aab3 into hsluv:master Aug 16, 2026
1 check passed
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.

2 participants