File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1313 - name : Update GPTScript Version
1414 run : |
1515 TAG=${{ github.event.client_payload.tag }}
16- echo "${TAG#v}" >> $VERSION
16+ VERSION= "${TAG#v}"
1717 sed -i 's/version = "[0-9.]*"/version = "'${VERSION}'"/' pyproject.toml
1818 sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' gptscript/install.py
1919 sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' scripts/package
2727 with :
2828 commit_message : Automated GPTScript Version Update
2929 file_pattern : ' pyproject.toml gptscript/install.py scripts/package'
30- tag-release :
31- needs : update-gptscript-dep
32- runs-on : ubuntu-latest
33- steps :
34- - uses : actions/checkout@v4
35- with :
36- token : ${{ secrets.BOT_GH_TOKEN }}
3730 - name : Bump version and push tag
3831 id : tag_version
3932 uses : mathieudutour/github-tag-action@v6.2
4740 tag : ${{ steps.tag_version.outputs.new_tag }}
4841 name : Release ${{ steps.tag_version.outputs.new_tag }}
4942 body : ${{ steps.tag_version.outputs.changelog }}
43+ prerelease : ${{ contains(github.ref_name, '-rc') }}
You can’t perform that action at this time.
0 commit comments