mirror of
https://github.com/darkings/Obsidian-MonokaiSyntax.git
synced 2026-07-22 04:40:26 +00:00
修正 Obsidian 发布标签说明
This commit is contained in:
parent
b7db2bdad0
commit
48ce735da3
2 changed files with 6 additions and 6 deletions
|
|
@ -124,11 +124,11 @@ theme.css
|
|||
manifest.json
|
||||
```
|
||||
|
||||
4. Create and push a version tag, for example:
|
||||
4. Create and push a version tag that exactly matches `manifest.json`. Obsidian expects no `v` prefix:
|
||||
|
||||
```powershell
|
||||
git tag v1.1.1
|
||||
git push origin v1.1.1
|
||||
git tag 1.1.1
|
||||
git push origin 1.1.1
|
||||
```
|
||||
|
||||
5. GitHub Actions runs the release verification and publishes a release with `theme.css` and `manifest.json`.
|
||||
|
|
|
|||
|
|
@ -124,11 +124,11 @@ theme.css
|
|||
manifest.json
|
||||
```
|
||||
|
||||
4. 创建并推送版本标签,例如:
|
||||
4. 创建并推送与 `manifest.json` 完全一致的版本标签。Obsidian 要求标签不能带 `v` 前缀:
|
||||
|
||||
```powershell
|
||||
git tag v1.1.1
|
||||
git push origin v1.1.1
|
||||
git tag 1.1.1
|
||||
git push origin 1.1.1
|
||||
```
|
||||
|
||||
5. GitHub Actions 会在标签推送后运行发布检查并创建 Release,附件包含 `theme.css` 与 `manifest.json`。
|
||||
|
|
|
|||
Loading…
Reference in a new issue