Skip to content

Conversation

@mansona
Copy link
Member

@mansona mansona commented Feb 9, 2026

This should hopefully be the last PR required to fix deployment with OIDC 🙏 😭 🫠

Essentially we missed a bunch of subtleties in the deleted files in #10950

  1. anything not main/master needs to have --publish-branch=<branch-name>
  2. only release should be called without --github-prerelease

That means that we need an if/elif block that has a different behaviour for all 3 branches that we deploy from 🙈 But this should do it 👍

@mansona mansona requested a review from a team February 9, 2026 12:43
run: |
if [ ${{ github.ref }} = "refs/heads/release" ]; then
pnpm release-plan publish
pnpm release-plan publish --publish-branch=release
Copy link
Member

Choose a reason for hiding this comment

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

alternatively you could have three steps, one for each branch and have them conditional

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea I did consider that 🤔 I wasn't sure in terms of style, but also this shouldn't be needed at all 🙈 I almost feel like release-plan should just always pass --publish-branch to pnpm publish or do whatever is necessary to turn off this check

@mansona mansona merged commit 3d88db6 into release Feb 9, 2026
70 checks passed
@mansona mansona deleted the release-branch branch February 9, 2026 16:41
@mansona mansona mentioned this pull request Feb 9, 2026
This was referenced Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants