Merge pull request 'feat: 強制發布版本' (#12) from develop into master
All checks were successful
/ CD > 發布專案 (push) Successful in 1s

Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
2026-03-20 08:09:22 +00:00
2 changed files with 3 additions and 6 deletions

View File

@@ -9,13 +9,10 @@ jobs:
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: 計算版本號
id: version
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.0.3
- name: 發布專案
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
with:
tag_name: "v${{ steps.version.outputs.version }}"
tag_name: "v0.0.4"
- name: 清理舊版本 (保留最新2個)
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
with:

View File

@@ -6,6 +6,6 @@ RUN apk update \
COPY entrypoint.sh /entrypoint.sh
RUN sed -i 's/\r//' /entrypoint.sh && chmod +x /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]