修正 Obsidian 发布标签说明

This commit is contained in:
Darkings 2026-06-27 09:59:10 +08:00
parent b7db2bdad0
commit 48ce735da3
2 changed files with 6 additions and 6 deletions

View file

@ -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`.

View file

@ -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`