File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 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"
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
You can’t perform that action at this time.
0 commit comments