diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 751df17..79684fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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'