Skip to content

Commit eddc6f1

Browse files
authored
fix(ci): 版本号前多余 v (RinLit-233-shiroko#140)
1 parent adb1b7a commit eddc6f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build&release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
6666
VERSION="${{ inputs.version }}"
6767
VERSION_TYPE="${{ inputs.version_type }}"
68-
VERSION_TAG="v${VERSION}"
68+
VERSION_TAG="${VERSION}"
6969
else
7070
VERSION_TAG="${{ github.ref_name }}"
7171
VERSION="${VERSION_TAG#v}"
@@ -217,7 +217,7 @@ jobs:
217217
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
218218
VERSION="${{ inputs.version }}"
219219
VERSION_TYPE="${{ inputs.version_type }}"
220-
VERSION_TAG="v${VERSION}"
220+
VERSION_TAG="${VERSION}"
221221
else
222222
VERSION_TAG="${{ github.ref_name }}"
223223
VERSION="${VERSION_TAG#v}"

0 commit comments

Comments
 (0)