Skip to content

Commit dc275c2

Browse files
author
顾一峰
committed
✨ Fix auto release tag name
1 parent 52b7d5f commit dc275c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-node@v3
2020
with:
2121
node-version: 20
22-
22+
2323
- name: Run install
2424
uses: borales/actions-yarn@v4
2525
with:
@@ -33,7 +33,7 @@ jobs:
3333
- name: Create Release and Upload Release Asset
3434
uses: softprops/action-gh-release@v1
3535
with:
36-
name: ${{ github.ref }}
36+
name: ${{ github.ref_name }}
3737
tag_name: ${{ github.ref }}
3838
body: Auto Release
3939
draft: false

0 commit comments

Comments
 (0)