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 15
15
TAG=${{ github.event.client_payload.tag }}
16
16
echo "${TAG#v}" >> $VERSION
17
17
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
19
20
- uses : actions/setup-python@v5
20
21
with :
21
22
python-version : " 3.12"
25
26
- uses : stefanzweifel/git-auto-commit-action@v5
26
27
with :
27
28
commit_message : Automated GPTScript Version Update
28
- file_pattern : ' pyproject.toml gptscript/install.py'
29
+ file_pattern : ' pyproject.toml gptscript/install.py scripts/package '
29
30
tag-release :
30
31
needs : update-gptscript-dep
31
32
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments