diff --git a/.gitea/workflows/master.yaml b/.gitea/workflows/master.yaml index 5f4172d..6c97b72 100644 --- a/.gitea/workflows/master.yaml +++ b/.gitea/workflows/master.yaml @@ -10,7 +10,7 @@ jobs: - name: 發布專案 uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }} with: - tag_name: "v0.1.7" + tag_name: "v0.1.8" - name: 清理舊版本 (保留最新2個) uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }} with: @@ -25,10 +25,10 @@ jobs: version: ${{ steps.version.outputs.version }} steps: - name: 計算版本號 - uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.1.7 + uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.1.8 - name: 輸出版本號 id: version - run: echo "VERSION.txt" >> $GITHUB_OUTPUT + run: echo VERSION.txt >> $GITHUB_OUTPUT test: name: "TEST > 測試專案" runs-on: docker diff --git a/entrypoint.sh b/entrypoint.sh index a5bf07e..afe41b1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -71,4 +71,4 @@ PATCH=$((PATCH + 1)) NEW_VERSION="$MAJOR.$MINOR.$PATCH" && echo "NEW_VERSION=$NEW_VERSION" # 將版本輸出到環境變數 -echo "version=$NEW_VERSION" >> "VERSION.txt" \ No newline at end of file +echo "version=$NEW_VERSION" > VERSION.txt \ No newline at end of file