Skip to content

Commit

Permalink
chore: update README version string before release
Browse files Browse the repository at this point in the history
  • Loading branch information
asartalo committed Feb 11, 2022
1 parent 104e677 commit 60b426b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,16 @@ jobs:

- run: echo "RELEASING ${{ steps.nextVersion.outputs.value }}"

- name: Update version
- name: Update version on pubspec.yaml
if: steps.shouldRelease.outputs.value == 'yes'
id: updateVersion
run: pub run release_tools update_version ${{ steps.nextVersion.outputs.value }}

- name: Update version on README.md
if: steps.shouldRelease.outputs.value == 'yes'
id: updateVersionReadme
run: pub run release_tools update_version --file="README.md" --template="pub global activate release_tools [VERSION]" ${{ steps.nextVersion.outputs.value }}

- name: Write changelog
id: changelog
if: steps.shouldRelease.outputs.value == 'yes'
Expand Down

0 comments on commit 60b426b

Please sign in to comment.