diff --git a/.github/workflows/update-release-version-in-readme.yml b/.github/workflows/update-release-version-in-readme.yml index c54c21da6..4b7daf72a 100644 --- a/.github/workflows/update-release-version-in-readme.yml +++ b/.github/workflows/update-release-version-in-readme.yml @@ -16,7 +16,7 @@ jobs: - name: Update version in README run: | - sed -i 's#\(\[latest release\](https://github.com/Kinds-of-Intelligence-CFI/animal-ai/releases/tag/v\)[0-9.]*#\1${LATEST_VERSION}#g' README.md + sed -i "s#\(\[latest release\](https://github.com/Kinds-of-Intelligence-CFI/animal-ai/releases/tag/v\)[0-9.]*#\1${LATEST_VERSION}#g" README.md - name: Commit and push changes run: | @@ -24,4 +24,4 @@ jobs: git config --global user.name "github-actions[bot]" git add README.md git commit -m "Update latest release version to $LATEST_VERSION" - git push \ No newline at end of file + git push