Skip to content

Commit 8f178d3

Browse files
authored
Add Scoop release dispatch
Add Scoop release dispatch
2 parents 46677e7 + cc955ca commit 8f178d3

3 files changed

Lines changed: 28 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,22 @@ jobs:
149149
"tag": "${{ github.ref_name }}",
150150
"repo": "${{ github.repository }}"
151151
}
152+
153+
scoop:
154+
name: Update Scoop Bucket
155+
needs: release
156+
runs-on: ubuntu-latest
157+
permissions: {}
158+
steps:
159+
- name: Update Scoop manifest
160+
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
161+
with:
162+
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
163+
repository: osodevops/scoop-bucket
164+
event-type: update-teams-manifest
165+
client-payload: |
166+
{
167+
"formula": "teams",
168+
"tag": "${{ github.ref_name }}",
169+
"repo": "${{ github.repository }}"
170+
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ On failure:
6868
# Homebrew (macOS/Linux)
6969
brew install osodevops/tap/teams-cli
7070

71+
# Scoop (Windows)
72+
scoop bucket add osodevops https://github.com/osodevops/scoop-bucket
73+
scoop install teams
74+
7175
# Pre-built binaries — download from GitHub Releases
7276
# https://github.com/osodevops/ms-teams-cli/releases
7377

docs/release-readiness.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The full release path is version-bump driven, not PR-merge driven:
6666
4. After the PR is merged to `main`, confirm `.github/workflows/auto-tag.yml` runs successfully.
6767
5. Confirm `auto-tag.yml` creates the `vX.Y.Z` tag.
6868
6. Confirm the tag starts `.github/workflows/release.yml`.
69-
7. Confirm the release workflow completes all build targets, creates checksums, publishes the GitHub Release, and runs the Homebrew tap update job.
69+
7. Confirm the release workflow completes all build targets, creates checksums, publishes the GitHub Release, and runs the Homebrew tap and Scoop bucket update jobs.
7070

7171
Important details:
7272

@@ -80,13 +80,15 @@ Important details:
8080
- `aarch64-unknown-linux-musl`
8181
- `x86_64-pc-windows-msvc`
8282

83-
Homebrew tap follow-up as of 2026-06-04:
83+
Distribution follow-up as of 2026-06-21:
8484

8585
- `release.yml` sends a `repository_dispatch` event to `osodevops/homebrew-tap`.
86+
- `release.yml` sends a `repository_dispatch` event to `osodevops/scoop-bucket`.
8687
- The tap repository currently has no workflow listening for that dispatch event.
8788
- Until that automation exists, update `osodevops/homebrew-tap` manually after each CLI release.
8889
- Use the published `checksums-sha256.txt` from the GitHub Release to update `Formula/teams-cli.rb`.
8990
- Verify the remote formula points at the new release URLs and checksums.
91+
- The Scoop bucket has an `update-teams-manifest` workflow listener. Verify `bucket/teams.json` points at the new Windows release URL and checksum after each release.
9092

9193
Known CI maintenance item as of 2026-06-04:
9294

@@ -152,6 +154,7 @@ Already covered here:
152154
- GitHub Actions CI on Linux, macOS, and Windows.
153155
- GitHub release assets with SHA256 checksums.
154156
- Homebrew formula in `osodevops/homebrew-tap`.
157+
- Scoop manifest in `osodevops/scoop-bucket`.
155158
- README, docs, man pages, changelog, license, contribution guide, and security policy.
156159
- Agent-focused repo guidance in `AGENTS.md`.
157160

@@ -164,7 +167,6 @@ Added from that comparison:
164167
Still intentionally not added:
165168

166169
- cargo-dist shell and PowerShell installers.
167-
- Scoop bucket publishing for Windows.
168170
- Docker image publishing.
169171
- Demo repository with runnable customer scenarios.
170172

0 commit comments

Comments
 (0)