避免空版本產生錯誤標籤 #8

Merged
admin merged 1 commits from develop into master 2026-06-25 16:16:20 +00:00
Member

變更摘要

  • 組合釋出參數 step 中先取得 version-calculateversion output。
  • 當版本輸出為空字串時直接失敗,避免 release action 收到單獨的 v 作為 tag_name
  • 確認版本有值後再組合 v<version>,並輸出 release name 與 tag name。

影響範圍

  • action.yml:影響釋出名稱與 tag 名稱組合流程。

Commit

  • 5fc06d5 fix(action.yml): 避免空版本產生錯誤標籤

風險與注意事項

  • docker-actions/calculate-version 未正確輸出 version,流程會在釋出前失敗,避免建立錯誤 tag。
  • 這會讓版本輸出異常更早暴露,需要查看前一步 版本號計算 的 log 來追查來源。
## 變更摘要 - 在 `組合釋出參數` step 中先取得 `version-calculate` 的 `version` output。 - 當版本輸出為空字串時直接失敗,避免 release action 收到單獨的 `v` 作為 `tag_name`。 - 確認版本有值後再組合 `v<version>`,並輸出 release name 與 tag name。 ## 影響範圍 - `action.yml`:影響釋出名稱與 tag 名稱組合流程。 ## Commit - `5fc06d5` `fix(action.yml): 避免空版本產生錯誤標籤` ## 風險與注意事項 - 若 `docker-actions/calculate-version` 未正確輸出 `version`,流程會在釋出前失敗,避免建立錯誤 tag。 - 這會讓版本輸出異常更早暴露,需要查看前一步 `版本號計算` 的 log 來追查來源。
jiantw83 added 1 commit 2026-06-25 16:15:42 +00:00
admin approved these changes 2026-06-25 16:16:16 +00:00
admin merged commit 8cf73981b4 into master 2026-06-25 16:16:20 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: old-composite-actions/release-tag-version#8