Skip to content

ci: build and publish on release tags, skip the duplicate branch run - #69

Merged
martypitt merged 1 commit into
mainfrom
ci/build-on-release-tags
Sep 14, 2026
Merged

martypitt merged 1 commit into
mainfrom
ci/build-on-release-tags

Conversation

@martypitt

Copy link
Copy Markdown
Contributor

Tag pushes never triggered build.yml (on.push only listed branches), so no release has ever been built by CI from its tag — 1.0.0 had to be published today via workflow_dispatch --ref 1.0.0. This adds the tag trigger.

tag-release.sh pushes the release commit to main and then the tag, which would now run the build twice. A small gate job skips branch runs whose root pom carries a non-SNAPSHOT version and leaves publishing to the tag run. Snapshot builds on main, PR builds and tag builds are unaffected.

🤖 Generated with Claude Code

https://claude.ai/code/session_013JvovM6T4az5f5qy3rpTVg

The push trigger only listed branches, so a pushed release tag never
started a run: the tag-aware steps (versioned docker image, :latest)
had never executed, and 1.0.0 had to be published by hand via
workflow_dispatch. Add the tag trigger.

tag-release.sh pushes the release commit to main before the tag, which
would now build and deploy the same release twice. A gate job skips
branch runs whose pom carries a non-SNAPSHOT version; the tag run
publishes those.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013JvovM6T4az5f5qy3rpTVg
@netlify

netlify Bot commented Sep 14, 2026

Copy link
Copy Markdown

Deploy Preview for orbital-nebula canceled.

Name Link
🔨 Latest commit 1cd0166
🔍 Latest deploy log https://app.netlify.com/projects/orbital-nebula/deploys/6aa82dbf0ae0010008792a39

@martypitt
martypitt merged commit 55eed6d into main Sep 14, 2026
8 checks passed
@martypitt
martypitt deleted the ci/build-on-release-tags branch September 14, 2026 17:36
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