We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 297f2f9 commit 64d7ddfCopy full SHA for 64d7ddf
.github/workflows/deployment.yml
@@ -155,12 +155,18 @@ jobs:
155
working-directory: code
156
157
# all
158
+ - name: Parse the release tag
159
+ id: parse-release-tag
160
+ run: | # remove the leading "v"
161
+ VERSION=${{ github.event.release.tag_name }}
162
+ echo "::set-output name=version::${VERSION#v}"
163
+ working-directory: code
164
- name: Set the app version
165
uses: microsoft/variable-substitution@6287962da9e5b6e68778dc51e840caa03ca84495 # v1
166
with:
167
files: 'code/pubspec.yaml'
168
env:
- version: ${{ github.event.release.tag_name }}
169
+ version: ${{ steps.parse-release-tag.outputs.version }}
170
171
# apk
172
- name: Build an Android APK file
0 commit comments