You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
body: 'This is an automatic pull request from the result of `pnpm changeset version` command. Merge it will trigger the publish flow for versioned packages.'
Copy file name to clipboardExpand all lines: .scripts/publish.js
+4-9
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,17 @@
1
1
/**
2
2
* This script runs the following tasks:
3
3
*
4
-
* 1. Tag main packages defined in `.changeset/config.json` if they are not tagged with the current version in `package.json`;
4
+
* 1. Tag the first package of fixed version groups defined in `.changeset/config.json` and other single packages if they are not tagged with the current version in `package.json`;
5
5
* 2. If no new git tag added, exit;
6
6
* 3. If at least one new git tag found, run `pnpm -r publish` and `git push --tags`.
7
7
*
8
8
* The subsequential release tasks, such as create GitHub release and build Docker image, will be took over by GitHub workflows.
0 commit comments