From 10f1793c2cd6caab2af8b4ead3572c23ac064c09 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Sun, 23 Nov 2025 10:57:08 +0400 Subject: [PATCH] chore: update release version in `README.md` --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93dfa59..e8c2380 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,6 +55,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: git cliff --config ./cliff.toml --bump -o ./CHANGELOG.md + - name: Update README.md version + if: steps.check-changes.outputs.has-changes == 'true' + run: | + 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 + echo "Updated README.md with version ${{ steps.next-version.outputs.NEXT_VERSION }}" - name: Get release notes id: release-notes if: steps.check-changes.outputs.has-changes == 'true'