新增:cd.yaml,main 的 ci 通過後用 release-go 算版本並打標籤

This commit is contained in:
bot
2026-11-05 03:30:07 +00:00
parent 2a896af19e
commit 39517dd66b
2 changed files with 48 additions and 0 deletions
+4
View File
@@ -25,3 +25,7 @@
`ci.yaml` 用 `uses: ./` 實際執行一次。
圖示:`icon.svg`(Gitea 儲存庫頭像用 `icon.png`)。
## 發版
`main` 的 `ci` 通過後,`cd.yaml` 用 [release-go](https://gitea.jsc.idv.tw/actions/release-go) 算下一個版本並打標籤(只遞增 patch,每位最大 9);只動文件、圖示、測試、`.gitea/`、`go.mod` 時不發版。呼叫端要把 Gitea 變數 `ACTION_CI_CACHE_VERSION` 改成新標籤才會採用。