Skip to content

Commit b26476b

Browse files
authored
Merge pull request #568 from drpebcak/dispatch
2 parents c8936c6 + e0064e0 commit b26476b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yaml

+33
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,36 @@ jobs:
5050
run: |
5151
$url = "${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/gptscript-${{ github.ref_name }}-windows-amd64.zip"
5252
./wingetcreate.exe update --submit --token "${{ secrets.WINGET_GH_TOKEN }}" --urls $url --version "${{ github.ref_name }}" gptscript-ai.gptscript
53+
node-release:
54+
needs: release-tag
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: trigger dispatch
58+
uses: peter-evans/repository-dispatch@v3
59+
with:
60+
token: ${{ secrets.DISPATCH_PAT }}
61+
repository: gptscript-ai/node-gptscript
62+
event-type: release
63+
client-payload: '{"tag": "${{ github.ref_name }}"}'
64+
python-release:
65+
needs: release-tag
66+
runs-on: ubuntu-latest
67+
steps:
68+
- name: trigger dispatch
69+
uses: peter-evans/repository-dispatch@v3
70+
with:
71+
token: ${{ secrets.DISPATCH_PAT }}
72+
repository: gptscript-ai/py-gptscript
73+
event-type: release
74+
client-payload: '{"tag": "${{ github.ref_name }}"}'
75+
go-release:
76+
needs: release-tag
77+
runs-on: ubuntu-latest
78+
steps:
79+
- name: trigger dispatch
80+
uses: peter-evans/repository-dispatch@v3
81+
with:
82+
token: ${{ secrets.DISPATCH_PAT }}
83+
repository: gptscript-ai/go-gptscript
84+
event-type: release
85+
client-payload: '{"tag": "${{ github.ref_name }}"}'

0 commit comments

Comments
 (0)