Skip to content

Commit

Permalink
Merge pull request #28 from gptscript-ai/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
drpebcak authored Jun 25, 2024
2 parents df9fe74 + afb8ff0 commit fe6ac8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
TAG=${{ github.event.client_payload.tag }}
echo "${TAG#v}" >> $VERSION
sed -i 's/version = "[0-9.]*"/version = "'${VERSION}'"/' pyproject.toml
sed -i 's/version: "v[0-9.]*"/version: ""/' gptscript/install.py
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' gptscript/install.py
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' scripts/package
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand All @@ -25,7 +26,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Automated GPTScript Version Update
file_pattern: 'pyproject.toml gptscript/install.py'
file_pattern: 'pyproject.toml gptscript/install.py scripts/package'
tag-release:
needs: update-gptscript-dep
runs-on: ubuntu-latest
Expand Down

0 comments on commit fe6ac8e

Please sign in to comment.