Revert regex

This commit is contained in:
Michael Thomas 2024-09-04 07:06:32 +00:00
parent 725735eb0a
commit 3d7f09b8ab

View file

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