Skip to content

Commit

Permalink
chore: split canary to separate scope (#8828)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardfist authored Dec 24, 2024
1 parent 7607a4e commit d87bd86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ jobs:
./x publish snapshot --tag canary
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.RSPACK_CANARY_RELEASE_TOKEN }}
5 changes: 4 additions & 1 deletion scripts/release/version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export function getNextName(name) {
if (["monorepo"].includes(name)) {
return name;
}
const nextName = `${name}-canary`;
if (name === "create-rspack") {
return "create-rspack-canary";
}
const nextName = name.replace(/^@rspack/, "@rspack-canary");
return nextName;
}

Expand Down

0 comments on commit d87bd86

Please sign in to comment.