We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdff6e commit 93555bbCopy full SHA for 93555bb
.github/workflows/build-test.yml
@@ -96,7 +96,7 @@ jobs:
96
zip -r ../release.zip ./*
97
- name: Create Git Tag
98
run: |
99
- TAG="v$(date +'%Y.%m.%d.%H%M%S')" # 例如 v2023.12.25
+ TAG="v$(date +'%Y.%m.%d')-Tag" # 例如 v2023.12.25
100
git tag $TAG
101
git push origin $TAG
102
env:
@@ -108,6 +108,6 @@ jobs:
108
#if: startsWith(github.ref, 'refs/tags/')
109
with:
110
files: release.zip
111
- tag_name: v2025.05.22 # 直接关联到名为 "my-release" 的 Release
+ tag_name: "v$(date +'%Y.%m.%d')-Release" # 直接关联到名为 "my-release" 的 Release
112
113
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
0 commit comments