Skip to content

Commit f017d90

Browse files
authored
chore: modify release workflow (#340)
1 parent 9e8b683 commit f017d90

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ Here are the steps to publish (we generally use CI for releases and avoid publis
132132
<!-- 1. [Create release pull request](https://github.com/web-infra-dev/rslib/actions/workflows/release-pull-request.yml). -->
133133

134134
1. Run `pnpm generate-release-pr` to create a release pull request.
135-
2. [Run the release action](https://github.com/web-infra-dev/rslib/actions/workflows/release.yml).
136-
3. [Generate the release notes](https://github.com/web-infra-dev/rslib/releases).
137-
4. Merge the release pull request.
135+
2. [Run the release action on release branch](https://github.com/web-infra-dev/rslib/actions/workflows/release.yml).
136+
3. Merge the release pull request.
137+
4. [Create Git tag on main branch and generate the release notes](https://github.com/web-infra-dev/rslib/releases).
138138

139139
## Caveats
140140

141141
The project is still in its early stages and under active development, so it possible dependents on Rsbuild or Rspack canary versions to test the latest features. The current versions are:
142142

143143
| Package | Link |
144144
| ------------ | ------------------------------------------------------------ |
145-
| @rspack/core | https://github.com/web-infra-dev/rspack/releases/tag/v1.0.10 |
145+
| @rspack/core | https://github.com/web-infra-dev/rspack/releases/tag/v1.0.14 |

scripts/generateReleasePr.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async function main() {
7777
console.log(chalk.blue(`Next version: ${nextVersion}`));
7878

7979
// 3. Create and switch to new branch
80-
const branchName = `release-v${nextVersion}`;
80+
const branchName = `release_v${nextVersion}`;
8181
console.log(chalk.blue(`Creating branch: ${branchName}`));
8282

8383
await $`git checkout -b ${branchName}`;

0 commit comments

Comments
 (0)