Promote the Windows binary package when publishing a release

draft-release in ruby/actions stages an mswin binary zip next to the draft tarballs, but nothing promotes it to pub/ruby/binaries, so each release has needed a manual publish-binaries run. Dispatch it alongside the other post-release hooks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hiroshi SHIBATAandClaude Opus 5.5 committed 2026-10-27 08:33:16 +09:00
1 parent db1bde0969
commit c6c27d0320
1 file changed
+9
Notes: git 2026-10-26 23:33:46 +00:00
+9
View File
@@ -73,6 +73,15 @@ jobs:
https://api.github.com/repos/ruby/actions/dispatches \
-d '{"event_type": "update_index"}'
- name: Publish Windows binary package
run: |
curl -L -X POST \
-H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/ruby/actions/dispatches \
-d "{\"event_type\": \"publish-binaries\", \"client_payload\": {\"version\": \"${RUBY_VERSION}\"}}"
- name: Build and push Docker images
run: |
curl -L -X POST \