Skip to content

Commit e7eacf2

Browse files
committed
fix: update version number in files
Signed-off-by: Taylor Price <[email protected]>
1 parent df9fe74 commit e7eacf2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/dispatch.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
TAG=${{ github.event.client_payload.tag }}
1616
echo "${TAG#v}" >> $VERSION
1717
sed -i 's/version = "[0-9.]*"/version = "'${VERSION}'"/' pyproject.toml
18-
sed -i 's/version: "v[0-9.]*"/version: ""/' gptscript/install.py
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
1920
- uses: actions/setup-python@v5
2021
with:
2122
python-version: "3.12"
@@ -25,7 +26,7 @@ jobs:
2526
- uses: stefanzweifel/git-auto-commit-action@v5
2627
with:
2728
commit_message: Automated GPTScript Version Update
28-
file_pattern: 'pyproject.toml gptscript/install.py'
29+
file_pattern: 'pyproject.toml gptscript/install.py scripts/package'
2930
tag-release:
3031
needs: update-gptscript-dep
3132
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)