Skip to content

Commit 93555bb

Browse files
authored
Update build-test.yml
1 parent ebdff6e commit 93555bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
zip -r ../release.zip ./*
9797
- name: Create Git Tag
9898
run: |
99-
TAG="v$(date +'%Y.%m.%d.%H%M%S')" # 例如 v2023.12.25
99+
TAG="v$(date +'%Y.%m.%d')-Tag" # 例如 v2023.12.25
100100
git tag $TAG
101101
git push origin $TAG
102102
env:
@@ -108,6 +108,6 @@ jobs:
108108
#if: startsWith(github.ref, 'refs/tags/')
109109
with:
110110
files: release.zip
111-
tag_name: v2025.05.22 # 直接关联到名为 "my-release" 的 Release
111+
tag_name: "v$(date +'%Y.%m.%d')-Release" # 直接关联到名为 "my-release" 的 Release
112112
env:
113113
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)