Skip to content

Commit 40e154e

Browse files
committed
Don't prefix tags with 'v'
1 parent 3d128bd commit 40e154e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- v[0-9]+.[0-9]+.[0-9]+
6+
- '[0-9]+.[0-9]+.[0-9]+'
77

88
jobs:
99
create-release:
@@ -71,7 +71,7 @@ jobs:
7171
- name: Set upload_url
7272
run: echo "UPLOAD_URL=$(cat upload_url/upload_url)" >> $GITHUB_ENV
7373
- name: Set release version
74-
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
74+
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
7575
- uses: actions/checkout@v2
7676
- name: Use Node.js ${{ matrix.version }}
7777
uses: actions/setup-node@v1

0 commit comments

Comments
 (0)