File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,8 @@ jobs:
175
175
run : echo ::set-output name=WORKSPACE::${GITHUB_WORKSPACE}
176
176
- name : set the env
177
177
run : |
178
- echo "APP_VERSION=${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
178
+ TAG=${{ steps.get_version.outputs.VERSION }}
179
+ echo "APP_VERSION=${TAG#v}" >> $GITHUB_ENV
179
180
echo "TRAVIS_BUILD_DIR=${{ steps.get_workspace.outputs.WORKSPACE }}" >> $GITHUB_ENV
180
181
- name : Upload and publish draft
181
182
env :
@@ -239,7 +240,9 @@ jobs:
239
240
id : get_version
240
241
run : echo ::set-output name=VERSION::${GITHUB_REF_NAME}
241
242
- name : set the env
242
- run : echo "APP_VERSION=${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
243
+ run : |
244
+ TAG=${{ steps.get_version.outputs.VERSION }}
245
+ echo "APP_VERSION=${TAG#v}" >> $GITHUB_ENV
243
246
- name : Upload and publish draft
244
247
shell : bash
245
248
env :
@@ -264,4 +267,3 @@ jobs:
264
267
if : steps.script.outcome != 'success'
265
268
run : |
266
269
SLACK_TEXT="${APP_VERSION} ${{ matrix.os_name }} assets failed verification." send_to_slack.sh
267
-
You can’t perform that action at this time.
0 commit comments