Skip to content

Commit 6bd4ca2

Browse files
committed
chore: add release workflow
Signed-off-by: Taylor Price <[email protected]>
1 parent 4b83849 commit 6bd4ca2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/dispatch.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Update GPTScript Version
2+
on:
3+
repository_dispatch:
4+
types: release
5+
6+
jobs:
7+
tag-release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
token: ${{ secrets.BOT_GH_TOKEN }}
13+
- name: Bump version and push tag
14+
id: tag_version
15+
uses: mathieudutour/[email protected]
16+
with:
17+
github_token: ${{ secrets.BOT_GH_TOKEN }}
18+
custom_tag: ${{ github.event.client_payload.tag }}
19+
tag_prefix: ""
20+
- name: Create a GitHub release
21+
uses: ncipollo/release-action@v1
22+
with:
23+
tag: ${{ steps.tag_version.outputs.new_tag }}
24+
name: Release ${{ steps.tag_version.outputs.new_tag }}
25+
body: ${{ steps.tag_version.outputs.changelog }}

0 commit comments

Comments
 (0)