Skip to content

fix(snapshot): skip publication for release versions - #25

Merged
youngledo merged 1 commit into
mainfrom
codex/fix-snapshot-release-version
Aug 2, 2026
Merged

fix(snapshot): skip publication for release versions#25
youngledo merged 1 commit into
mainfrom
codex/fix-snapshot-release-version

Conversation

@youngledo

Copy link
Copy Markdown
Contributor

Root cause

Snapshot ran for every main push but treated a non-SNAPSHOT project version as an error. Its Maven 4 version extraction also selected the wrong final output line.

Change

  • parse Maven 4 help:evaluate output from [INFO] [stdout]
  • write a boolean is_snapshot step output
  • publish only when the current project version ends in -SNAPSHOT
  • add supply-chain workflow regression coverage for the required shape

Verification

  • bash scripts/verify-supply-chain-workflows-test.sh
  • bash scripts/verify-release-workflow-test.sh
  • bash scripts/verify-consumer-pom-test.sh
  • JAVA_25_HOME="$JAVA_HOME" bash scripts/verify-ci-matrix.sh (106 modules, BUILD SUCCESS)

@youngledo
youngledo merged commit b73c33a into main Aug 2, 2026
19 checks passed
@youngledo
youngledo deleted the codex/fix-snapshot-release-version branch August 2, 2026 07:21
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