Skip to content

Commit

Permalink
尝试修复自动发布
Browse files Browse the repository at this point in the history
  • Loading branch information
ACaiCat authored Oct 3, 2024
1 parent 286d022 commit 13c5f3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ jobs:
- name: Update Tag
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
git tag -f $(date +'%Y.%m.%d')
git push -f origin $(date +'%Y.%m.%d')
git tag -f v$(date +'%Y.%m.%d')
git push -f origin v$(date +'%Y.%m.%d')
- name: Release Mod
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: ncipollo/release-action@v1
with:
tag: $(date +'%Y.%m.%d')
tag: v$(date +'%Y.%m.%d')
name: CaiBotMod v$(date +'%Y.%m.%d')
body: |
# CaiBotMod
Expand Down

0 comments on commit 13c5f3c

Please sign in to comment.