File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [ master ]
6
6
tags :
7
- - ' v[0-9]+.[0-9]+.[0-9]+(-beta)?[0-9]+ '
7
+ - ' v[0-9]+.[0-9]+.[0-9]+(-beta)?[0-9]* '
8
8
pull_request :
9
9
branches : [ master ]
10
10
@@ -166,7 +166,7 @@ jobs:
166
166
ref : ' master'
167
167
- name : Get the version
168
168
id : get_version
169
- run : echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/ }
169
+ run : echo ::set-output name=VERSION::${GITHUB_REF_NAME }
170
170
- name : Get current workspace path
171
171
id : get_workspace
172
172
run : echo ::set-output name=WORKSPACE::${GITHUB_WORKSPACE}
@@ -225,7 +225,7 @@ jobs:
225
225
ref : ' master'
226
226
- name : Get the version
227
227
id : get_version
228
- run : echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/ }
228
+ run : echo ::set-output name=VERSION::${GITHUB_REF_NAME }
229
229
- name : set the env
230
230
run : echo "APP_VERSION=${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
231
231
- name : Upload and publish draft
You can’t perform that action at this time.
0 commit comments