File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 13
13
- name : Update GPTScript Version
14
14
run : |
15
15
TAG=${{ github.event.client_payload.tag }}
16
- echo "${TAG#v}" >> $VERSION
16
+ VERSION= "${TAG#v}"
17
17
sed -i 's/version = "[0-9.]*"/version = "'${VERSION}'"/' pyproject.toml
18
18
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' gptscript/install.py
19
19
sed -i 's/"version": "v[0-9.]*"/"version": "'${TAG}'"/' scripts/package
27
27
with :
28
28
commit_message : Automated GPTScript Version Update
29
29
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 }}
37
30
- name : Bump version and push tag
38
31
id : tag_version
39
32
uses :
mathieudutour/[email protected]
47
40
tag : ${{ steps.tag_version.outputs.new_tag }}
48
41
name : Release ${{ steps.tag_version.outputs.new_tag }}
49
42
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