Skip to content

Commit 994ea50

Browse files
committed
fix: actually replace gptscript version on dispatch
Signed-off-by: Donnie Adams <[email protected]>
1 parent df457b2 commit 994ea50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dispatch.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
run: |
1515
TAG=${{ github.event.client_payload.tag }}
1616
VERSION="${TAG#v}"
17-
sed -i 's/version = "[0-9.]*"/version = "'${VERSION}'"/' pyproject.toml
18-
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' gptscript/install.py
19-
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' scripts/package
17+
sed -i 's/version = ".*"/version = "'${VERSION}'"/' pyproject.toml
18+
sed -i 's/"version": "v.*"/"version": "'${TAG}'"/' gptscript/install.py
19+
sed -i 's/"version": "v.*"/"version": "'${TAG}'"/' scripts/package
2020
- uses: actions/setup-python@v5
2121
with:
2222
python-version: "3.12"

0 commit comments

Comments
 (0)