Skip to content

Commit

Permalink
fix: actually replace gptscript version on dispatch
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Jun 25, 2024
1 parent df457b2 commit 994ea50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
run: |
TAG=${{ github.event.client_payload.tag }}
VERSION="${TAG#v}"
sed -i 's/version = "[0-9.]*"/version = "'${VERSION}'"/' pyproject.toml
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' gptscript/install.py
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' scripts/package
sed -i 's/version = ".*"/version = "'${VERSION}'"/' pyproject.toml
sed -i 's/"version": "v.*"/"version": "'${TAG}'"/' gptscript/install.py
sed -i 's/"version": "v.*"/"version": "'${TAG}'"/' scripts/package
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand Down

0 comments on commit 994ea50

Please sign in to comment.