We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df9fe74 commit e7eacf2Copy full SHA for e7eacf2
.github/workflows/dispatch.yaml
@@ -15,7 +15,8 @@ jobs:
15
TAG=${{ github.event.client_payload.tag }}
16
echo "${TAG#v}" >> $VERSION
17
sed -i 's/version = "[0-9.]*"/version = "'${VERSION}'"/' pyproject.toml
18
- sed -i 's/version: "v[0-9.]*"/version: ""/' gptscript/install.py
+ sed -i 's/version: "v[0-9.]*"/version: "'${TAG}'"/' gptscript/install.py
19
+ sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' scripts/package
20
- uses: actions/setup-python@v5
21
with:
22
python-version: "3.12"
@@ -25,7 +26,7 @@ jobs:
25
26
- uses: stefanzweifel/git-auto-commit-action@v5
27
28
commit_message: Automated GPTScript Version Update
- file_pattern: 'pyproject.toml gptscript/install.py'
29
+ file_pattern: 'pyproject.toml gptscript/install.py scripts/package'
30
tag-release:
31
needs: update-gptscript-dep
32
runs-on: ubuntu-latest
0 commit comments