Skip to content

Commit

Permalink
Fix empty tag problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Seayay committed Nov 10, 2024
1 parent 742e051 commit a800e72
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/auto-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,17 @@ jobs:
mkdir -p release
zip -r release/${current_year}-${last_month}.zip ${current_year}/${last_month}/
- name: "生成 Git tag"
id: tag
run: |
tag="${current_year}-${last_month}"
echo "Generated tag: $tag"
echo "TAG=${tag}" >> $GITHUB_ENV
- name: "发布"
uses: softprops/[email protected]
with:
tag_name: ${{ env.TAG }}
files: release/${current_year}-${last_month}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a800e72

Please sign in to comment.