Skip to content

Commit 25a68e1

Browse files
committed
fix: dispatch should commit and tag in one job
Additionally, mark as prerelease when tagging an RC. Signed-off-by: Donnie Adams <[email protected]>
1 parent 91fae92 commit 25a68e1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/dispatch.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ jobs:
2525
with:
2626
commit_message: Automated GPTScript Version Update
2727
file_pattern: 'package*.json scripts/install-binary.js'
28-
tag-release:
29-
needs: update-gptscript-dep
30-
runs-on: ubuntu-latest
31-
steps:
32-
- uses: actions/checkout@v4
33-
with:
34-
token: ${{ secrets.BOT_GH_TOKEN }}
3528
- name: Bump version and push tag
3629
id: tag_version
3730
uses: mathieudutour/[email protected]
@@ -45,3 +38,4 @@ jobs:
4538
tag: ${{ steps.tag_version.outputs.new_tag }}
4639
name: Release ${{ steps.tag_version.outputs.new_tag }}
4740
body: ${{ steps.tag_version.outputs.changelog }}
41+
prerelease: ${{ contains(github.ref_name, '-rc') }}

0 commit comments

Comments
 (0)