diff --git a/.github/workflows/dispatch.yaml b/.github/workflows/dispatch.yaml index 3fd64d9..2b7cc17 100644 --- a/.github/workflows/dispatch.yaml +++ b/.github/workflows/dispatch.yaml @@ -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" @@ -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