-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adjust release pr workflow (#6044)
* chore: adjust workflow and add publish doc --------- Co-authored-by: antv <antv@antfin.com>
- Loading branch information
Showing
6 changed files
with
34 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
This project uses changeset to manage version release, and the specific release process is as follows: | ||
|
||
1. Complete related development work | ||
2. Create a branch from v5 (any name you want) | ||
3. Run `pnpm changeset` and fill in the information as prompted | ||
4. run `pnpm run version` to generate the version number | ||
5. Merge the branch into the v5 branch by creating a PR on GitHub and adding a `publish` tag | ||
6. When a branch is merged, GitHub Actions are automatically triggered and published to npm | ||
|
||
--- | ||
|
||
本项目通过 changeset 来管理版本发布,具体的发布流程如下: | ||
|
||
1. 完成相关的开发工作 | ||
2. 从 v5 分支创建一个分支(任意分支名均可) | ||
3. 执行 `pnpm changeset` 命令,根据提示填写相关信息 | ||
4. 执行 `pnpm run version` 命令,生成版本号 | ||
5. 在 GitHub 上创建一个 PR,并添加 `publish` 标签,将该分支合并到 v5 分支 | ||
6. 分支合并后,会自动触发 GitHub Actions,发布到 npm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
}, | ||
"ci": { | ||
"dependsOn": ["^ci"] | ||
} | ||
}, | ||
"version": {} | ||
} | ||
} |