fix(cleanup-release): 重新整理 release 清理流程與輸出格式

This commit is contained in:
2026-07-11 13:16:19 +00:00
parent 0ff7080929
commit e531d18ef8
6 changed files with 522 additions and 46 deletions
Executable → Regular
+7 -5
View File
@@ -1,10 +1,12 @@
#!/bin/sh
# 檔案用途:啟動 action 容器時輸出識別資訊,並交由 Node 主程式執行
# 更新日期:2026/07/11 21:02:25
set -e
echo "================================================"
echo "Action : Gitea Docker Template"
echo "用途 : Gitea Docker 範本"
echo "更新時間: 2026/07/02 09:41:31"
echo "================================================"
ts=$(TZ='Asia/Taipei' date +'%Y/%m/%d %H:%M:%S')
printf '[INF][%s]: Action: CLEANUP OLD RELEASES\n' "$ts"
printf '[INF][%s]: 用途: 清理舊版成品\n' "$ts"
printf '[INF][%s]: 更新時間: 2026/07/11\n' "$ts"
exec node /action/src/index.js "$@"