Skip to content

Commit 37cd54a

Browse files
committed
🐛 修复漏洞
1 parent 8f0c8bf commit 37cd54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
ref: master
5959
- name: Write version
60-
run: echo "${GITHUB_REF}" > VERSION
60+
run: echo "${GITHUB_REF#refs/*/}" > VERSION
6161
- name: Commit and push
6262
run: |
6363
git add VERSION

0 commit comments

Comments
 (0)