Update update-version-number.yaml

1
This commit is contained in:
Brian 2024-09-03 10:26:22 -05:00 committed by GitHub
parent b381dcc28e
commit a1fc9e6ca5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ jobs:
run: |
VERSION=${{ github.ref_name }}
VERSION="${VERSION:1}"
sed -i '' -E 's/VERSION = "[0-9]+.[0-9]+.[0-9]+"/VERSION = "'$VERSION'"/' find_posts.py
sed -i -E 's/VERSION = ".*?"/VERSION = '$VERSION'/g' find_posts.py
git add find_posts.py
git commit -m "[bot] Bump version to $VERSION"
- name: Push to repository