[READ ONLY] Subtree split of the siyuan-packages-monorepo /workspace/plugins/template
- Update the version number in
<subrepo-root-dir>/package.json
and<subrepo-root-dir>/public/plugin.json
, then commit the changes in monorepo. - Run script
./scripts/git-subtree/template/push.ps1
with the folowing command in monorepo root dir to push the subtree to sub-repository (dev
branch).pwsh -f "./scripts/git-subtree/template/push.ps1"
- Create a pull request from
dev
branch tomain
branch in sub-repository. - Merge the pull request.
- Await for the CD workflow
release-please.yml
to complete, it will create a release pull request in sub-repository. - Merge the release pull request, it will create a new pre-release with current changelog and a new tag with semantic version in sub-repository.
- Await for the CD workflow
build.yml
to complete, it will update the distribution files topublish
branch in sub-repository. - Await for the CD workflow
release-distribution.yml
to complete, it will create a new pre-release with an asset namedpackage.zip
and a new tag with timestamp in sub-repository.