You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The downstream package-manager dispatch step has fired wheels-released
events to wheels-dev/homebrew-wheels and wheels-dev/chocolatey-wheels.
Swap chocolatey out for scoop-wheels — the v1.x chocolatey-wheels
package is CommandBox-based and can't drive v4, so the Windows install
path moved permanently to Scoop in 4.0. scoop-wheels#4 adds the
autoupdate workflow on the consumer side that listens for this dispatch
event.
Touches the dispatch loop, the secret docstring, the in-step warning
message, and the three sibling comments (apt/yum dispatch + bump-develop)
that referenced the homebrew/chocolatey step as their channel-derivation
template.
No functional change for stable v4.0.0 (it already shipped). Takes
effect on the next snapshot or 4.0.1 release.
Refs #2758
Refs wheels-dev/scoop-wheels#4
Signed-off-by: Peter Amiri <peter@alurium.com>
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,11 @@ on:
15
15
FORGEBOX_PASS:
16
16
required: true
17
17
# Optional — when present, the build job's "Dispatch downstream package
18
-
# managers" step fires repository_dispatch on homebrew/chocolatey-wheels
19
-
# so their auto-update workflows pick up the new release in ~5min instead
20
-
# of waiting for the daily cron. When absent, the step warns and exits 0.
18
+
# managers" step fires repository_dispatch on homebrew-wheels and
19
+
# scoop-wheels so their auto-update workflows pick up the new release
20
+
# in ~5min instead of waiting for the daily cron. When absent, the step
21
+
# warns and exits 0. The chocolatey path was retired in favor of Scoop
22
+
# for the v4.x Windows install — see scoop-wheels#4.
21
23
DOWNSTREAM_DISPATCH_TOKEN:
22
24
required: false
23
25
# Optional — when present, the build job's "Dispatch Linux repo buckets"
@@ -501,13 +503,17 @@ jobs:
501
503
# Dispatch downstream package managers
502
504
#
503
505
# Fires repository_dispatch on wheels-dev/homebrew-wheels and
504
-
# wheels-dev/chocolatey-wheels so their auto-update workflows pick
505
-
#up the new release within minutes instead of waiting up to 24h
506
-
#for their daily cron. Both repos have:
506
+
# wheels-dev/scoop-wheels so their auto-update workflows pick up
507
+
# the new release within minutes instead of waiting up to 24h for
508
+
# their daily cron. Both repos have:
507
509
# on:
508
510
# repository_dispatch:
509
511
# types: [wheels-released]
510
512
#
513
+
# Chocolatey was dropped — the v1.x chocolatey-wheels package is
514
+
# CommandBox-based and can't drive v4. Windows installs go through
515
+
# Scoop now. See scoop-wheels#4 for the bucket's autoupdate workflow.
516
+
#
511
517
# Requires DOWNSTREAM_DISPATCH_TOKEN — a fine-grained PAT (or app
512
518
# token) with `metadata: read` + `actions: write` on the two
513
519
# downstream repos. If the secret is unset, this step warns and
@@ -522,7 +528,7 @@ jobs:
522
528
set -euo pipefail
523
529
524
530
if [ -z "${GH_DISPATCH_TOKEN:-}" ]; then
525
-
echo "::warning::DOWNSTREAM_DISPATCH_TOKEN is not set on the repository — homebrew/chocolatey auto-update will fall back to the daily cron tick."
531
+
echo "::warning::DOWNSTREAM_DISPATCH_TOKEN is not set on the repository — homebrew-wheels and scoop-wheels auto-update will fall back to the daily cron tick."
526
532
exit 0
527
533
fi
528
534
@@ -546,7 +552,7 @@ jobs:
546
552
# Static event type, fixed repo list — no untrusted input flows
547
553
# into the curl arguments. WHEELS_RELEASE_VERSION is generated
548
554
# earlier in the same workflow from wheels.json + run number.
549
-
for repo in homebrew-wheels chocolatey-wheels; do
555
+
for repo in homebrew-wheels scoop-wheels; do
550
556
echo "Dispatching wheels-released to wheels-dev/${repo}..."
0 commit comments