docs(calculate-version): 重整 action 與 workflow 文件
This commit is contained in:
+4
-2
@@ -1,9 +1,11 @@
|
||||
#!/bin/sh
|
||||
# --------------------------------------------------
|
||||
# 用途:啟動 calculate-version action,將所有參數交給 Node 主程式。
|
||||
# 更新日期:2026/07/11 17:44:33(Asia/Taipei)
|
||||
# 用途:啟動 calculate-version action,並將所有參數直接轉交給 Node 主程式。
|
||||
# 更新日期:2026/07/11 21:08:44(Asia/Taipei)
|
||||
# --------------------------------------------------
|
||||
|
||||
# 啟用嚴格模式,讓未定義變數與任一命令失敗都能立即中止流程。
|
||||
set -eu
|
||||
|
||||
# 直接以 exec 取代 shell 行程,避免多一層 shell 包裝,並把所有參數原封不動傳給 Node。
|
||||
exec node /action/src/index.js "$@"
|
||||
|
||||
Reference in New Issue
Block a user