#!/bin/sh # -------------------------------------------------- # 用途:啟動 calculate-version action,並將所有參數直接轉交給 Node 主程式。 # 更新日期:2026/07/11 21:08:44(Asia/Taipei) # -------------------------------------------------- # 啟用嚴格模式,讓未定義變數與任一命令失敗都能立即中止流程。 set -eu # 直接以 exec 取代 shell 行程,避免多一層 shell 包裝,並把所有參數原封不動傳給 Node。 exec node /action/src/index.js "$@"