Skip to content

chore(release): update canary release flow - #6020

Merged
0xcadams merged 1 commit into
mainfrom
0xcadams/release-canary-flow
May 19, 2026
Merged

chore(release): update canary release flow#6020
0xcadams merged 1 commit into
mainfrom
0xcadams/release-canary-flow

Conversation

@0xcadams

@0xcadams 0xcadams commented May 19, 2026

Copy link
Copy Markdown
Member

Refreshes the canary release workflow by adding explicit workflow permissions and using OIDC-backed publishing for canary builds. The release path now validates the source ref before invoking git operations, runs the standard canary command, and simplifies the canary npm publish step.

@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
replicache-docs Ready Ready Preview, Comment May 19, 2026 7:00am
zbugs Ready Ready Preview, Comment May 19, 2026 7:00am

Request Review

function pushNPM(version: string, isCanary: boolean) {
if (isCanary) {
execute('npm publish --tag=canary', {cwd: basePath('packages', 'zero')});
execute(`npm dist-tag rm @rocicorp/zero@${version} canary`);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

OIDC does not allow rm tag

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what was the intent here?

@aboodman

@0xcadams
0xcadams requested review from aboodman, arv and tantaman May 19, 2026 07:37
@0xcadams
0xcadams marked this pull request as ready for review May 19, 2026 07:37
@0xcadams
0xcadams merged commit 052dda1 into main May 19, 2026
28 checks passed
@0xcadams
0xcadams deleted the 0xcadams/release-canary-flow branch May 19, 2026 08:09

@arv arv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

- name: Comment on PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ github.token }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice

function pushNPM(version: string, isCanary: boolean) {
if (isCanary) {
execute('npm publish --tag=canary', {cwd: basePath('packages', 'zero')});
execute(`npm dist-tag rm @rocicorp/zero@${version} canary`);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what was the intent here?

@aboodman

arv pushed a commit that referenced this pull request May 19, 2026
Refreshes the canary release workflow by adding explicit workflow
permissions and using OIDC-backed publishing for canary builds. The
release path now validates the source ref before invoking git
operations, runs the standard canary command, and simplifies the canary
npm publish step.
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