Skip to content

Commit 64988a9

Browse files
authored
chore: update release version in README.md (#58)
1 parent 67b77ef commit 64988a9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
env:
5656
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757
run: git cliff --config ./cliff.toml --bump -o ./CHANGELOG.md
58+
- name: Update README.md version
59+
if: steps.check-changes.outputs.has-changes == 'true'
60+
run: |
61+
sed -i -E 's|https://github.com/space-code/validator.git", from: "[0-9]+\.[0-9]+\.[0-9]+"|https://github.com/space-code/validator.git", from: "'"${{ steps.next-version.outputs.NEXT_VERSION }}"'"|g' README.md
62+
echo "Updated README.md with version ${{ steps.next-version.outputs.NEXT_VERSION }}"
5863
- name: Get release notes
5964
id: release-notes
6065
if: steps.check-changes.outputs.has-changes == 'true'

0 commit comments

Comments
 (0)