Skip to content

fix: end the pipeline at the release PR instead of chaining a broken publish - #33

Merged
GoogilyBoogily merged 1 commit into
mainfrom
DTBTWEB-1765-remove-chained-publish
Aug 20, 2026
Merged

fix: end the pipeline at the release PR instead of chaining a broken publish#33
GoogilyBoogily merged 1 commit into
mainfrom
DTBTWEB-1765-remove-chained-publish

Conversation

@GoogilyBoogily

Copy link
Copy Markdown
Contributor

release-pipeline chained a publish job that checked out v${new-version} right after bump-version, but bump-version only opens a release PR and does not tag (release-pr.ts: tagging happens on merge). So the tag never existed at that point and publish always failed.

Removes the chained publish job (and the now-unused new-version output). The pipeline now ends at opening the release PR. Publishing is a separate step against the tag once the PR merges. The npm-token secret stays declared so callers passing it don't break.

@GoogilyBoogily
GoogilyBoogily requested review from a team and a lite review from Copilot August 19, 2026 20:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the reusable release-pipeline workflow so it stops after opening the release PR, instead of attempting to immediately publish from a tag that doesn’t exist yet.

Changes:

  • Removes the chained publish reusable-workflow call from release-pipeline.
  • Removes the now-unused new-version job output from bump-version.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 58 to 62
bump-version:
needs: ci
runs-on: ${{ inputs.runs-on }}
permissions:
contents: write
Comment on lines 61 to 66
permissions:
contents: write
pull-requests: write
outputs:
new-version: ${{ steps.bump.outputs.new-version }}
steps:
- uses: actions/checkout@v6

@RickeySerna RickeySerna left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛺

@GoogilyBoogily
GoogilyBoogily merged commit 0a5f919 into main Aug 20, 2026
2 checks passed
@GoogilyBoogily
GoogilyBoogily deleted the DTBTWEB-1765-remove-chained-publish branch August 20, 2026 15:08
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.

4 participants