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 c89325e commit 6496669Copy full SHA for 6496669
.github/workflows/publish.yaml
@@ -15,9 +15,8 @@ jobs:
15
- name: Install dependencies
16
run: dart pub get
17
- name: Add version
18
- env:
19
- TAG_VERSION: ${{ github.event.release.tag_name }}
20
- run: echo "\n\nversion: ${TAG_VERSION##v}" >> pubspec.yaml
+ run: |
+ echo "\n\nversion: ${GITHUB_REF_NAME##v}" >> pubspec.yaml
21
- name: Check Publish Warnings
22
run: dart pub publish --dry-run
23
- name: Publish
0 commit comments