Skip to content

Commit df457b2

Browse files
committed
fix: commit and tag in one step on dispatch
Signed-off-by: Donnie Adams <[email protected]>
1 parent 8ce9657 commit df457b2

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/dispatch.yaml

+5-11
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,11 @@ jobs:
2727
with:
2828
commit_message: Automated GPTScript Version Update
2929
file_pattern: 'pyproject.toml gptscript/install.py scripts/package'
30-
- name: Bump version and push tag
31-
id: tag_version
32-
uses: mathieudutour/[email protected]
33-
with:
34-
github_token: ${{ secrets.BOT_GH_TOKEN }}
35-
custom_tag: ${{ github.event.client_payload.tag }}
36-
tag_prefix: ""
30+
tagging_message: ${{ github.event.client_payload.tag }}
3731
- name: Create a GitHub release
3832
uses: ncipollo/release-action@v1
3933
with:
40-
tag: ${{ steps.tag_version.outputs.new_tag }}
41-
name: Release ${{ steps.tag_version.outputs.new_tag }}
42-
body: ${{ steps.tag_version.outputs.changelog }}
43-
prerelease: ${{ contains(github.ref_name, '-rc') }}
34+
tag: ${{ github.event.client_payload.tag }}
35+
name: Release ${{ github.event.client_payload.tag }}
36+
generateReleaseNotes: true
37+
prerelease: ${{ contains(github.event.client_payload.tag, '-rc') }}

0 commit comments

Comments
 (0)