https://github.com/zuoqiu-yingyi/siyuan-plugin-custom-block
[READ ONLY] Subtree split of the siyuan-packages-monorepo (see https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo)
https://github.com/zuoqiu-yingyi/siyuan-plugin-custom-block
plugin siyuan siyuan-note siyuan-plugin style subtree subtree-split
Last synced: 4 months ago
JSON representation
[READ ONLY] Subtree split of the siyuan-packages-monorepo (see https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo)
- Host: GitHub
- URL: https://github.com/zuoqiu-yingyi/siyuan-plugin-custom-block
- Owner: Zuoqiu-Yingyi
- License: agpl-3.0
- Created: 2023-07-02T12:30:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-07T14:46:40.000Z (5 months ago)
- Last Synced: 2024-12-07T15:25:34.348Z (5 months ago)
- Topics: plugin, siyuan, siyuan-note, siyuan-plugin, style, subtree, subtree-split
- Language: TypeScript
- Homepage: https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo/tree/main/workspace/plugins/custom-block
- Size: 10.3 MB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
> **[READ ONLY] Subtree split of the [siyuan-packages-monorepo](https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo) [/workspace/plugins/custom-block](https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo/tree/main/workspace/plugins/custom-block)**
![]()
---
[](https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block/releases/latest)
[](https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block/releases/latest)
[](https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block/blob/main/LICENSE)
[](https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block/commits/main)


[](https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block/releases)---
## USER GUIDE
[简体中文](./public/README_zh_CN.md) \| [English](./public/README.md)
## DEVELOPER GUIDE
### RELEASE STEPS
1. Update the version number in `/package.json` and `/public/plugin.json`, then commit the changes in [monorepo](https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo).
2. Run script `./scripts/git-subtree/custom-block/push.ps1` with the folowing command in **monorepo root dir** to push the subtree to sub-repository (`dev` branch).
```powershell
pwsh -f "./scripts/git-subtree/custom-block/push.ps1"
```
3. Create a pull request from `dev` branch to `main` branch in sub-repository.
4. Merge the pull request.
5. Await for the CD workflow `release-please.yml` to complete, it will create a _release pull request_ in sub-repository.
6. Merge the _release pull request_, it will create a new _pre-release_ with current [changelog](./CHANGELOG.md) and a new _tag_ with [semantic version](https://semver.org/) in sub-repository.
7. Await for the CD workflow `build.yml` to complete, it will update the distribution files to `publish` branch in sub-repository.
8. Await for the CD workflow `release-distribution.yml` to complete, it will create a new _pre-release_ with an asset named `package.zip` and a new _tag_ with timestamp in sub-repository.## CHANGELOG
[CHANGE LOG](./CHANGELOG.md)