Skip to content

Commit

Permalink
fix(actions): syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kirasok committed May 18, 2023
1 parent 979a533 commit 9bdcf23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: echo "prev=$(git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1))" >> $GITHUB_ENV

- name: Update version in YAML
run: sed -i 's/99.99.99+99/${{version}}+${{ github.run_number }}/g' pubspec.yaml
run: sed -i 's/99.99.99+99/${{env.version}}+${{ github.run_number }}/g' pubspec.yaml

- name: Download Android keystore
id: android_keystore
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: generate changelog
run: |
dart pub global activate changelog_cli
dart pub global run changelog_cli generate -P markdown -s ${{prev}} -e ${{version}} > CHANGELOG.md
dart pub global run changelog_cli generate -P markdown -s ${{env.prev}} -e ${{env.version}} > CHANGELOG.md
- name: upload changelog
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 9bdcf23

Please sign in to comment.