Skip to content

Commit

Permalink
Update update-release-version-in-readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alhasacademy96 authored Oct 23, 2024
1 parent 88e9427 commit 15aaa63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-release-version-in-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ 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: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add README.md
git commit -m "Update latest release version to $LATEST_VERSION"
git push
git push

0 comments on commit 15aaa63

Please sign in to comment.