Skip to content

Commit bdc6699

Browse files
committed
Document release automation caveats
1 parent e542238 commit bdc6699

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

docs/release-readiness.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,44 @@ Required:
5656
- GitHub Actions passes on Linux, macOS, and Windows.
5757
- Release workflow builds artifacts for supported platforms.
5858

59+
## Release automation checklist
60+
61+
The full release path is version-bump driven, not PR-merge driven:
62+
63+
1. Open a release PR that updates `Cargo.toml` to the next version.
64+
2. Keep `Cargo.lock` aligned for the root `teams-cli` package version.
65+
3. Add a matching `CHANGELOG.md` entry.
66+
4. After the PR is merged to `main`, confirm `.github/workflows/auto-tag.yml` runs successfully.
67+
5. Confirm `auto-tag.yml` creates the `vX.Y.Z` tag.
68+
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.
70+
71+
Important details:
72+
73+
- Merging a feature PR that does not change `Cargo.toml` only runs CI on `main`; it does not create a release.
74+
- `auto-tag.yml` is path-filtered to `Cargo.toml` and only tags when the package version changes.
75+
- The tag push is what triggers `release.yml`.
76+
- The release workflow currently builds:
77+
- `x86_64-apple-darwin`
78+
- `aarch64-apple-darwin`
79+
- `x86_64-unknown-linux-musl`
80+
- `aarch64-unknown-linux-musl`
81+
- `x86_64-pc-windows-msvc`
82+
83+
Homebrew tap follow-up as of 2026-06-04:
84+
85+
- `release.yml` sends a `repository_dispatch` event to `osodevops/homebrew-tap`.
86+
- The tap repository currently has no workflow listening for that dispatch event.
87+
- Until that automation exists, update `osodevops/homebrew-tap` manually after each CLI release.
88+
- Use the published `checksums-sha256.txt` from the GitHub Release to update `Formula/teams-cli.rb`.
89+
- Verify the remote formula points at the new release URLs and checksums.
90+
91+
Known CI maintenance item as of 2026-06-04:
92+
93+
- GitHub Actions is warning that Node.js 20 actions are deprecated.
94+
- Update pinned actions used by CI/release before GitHub's June 16, 2026 Node 24 default switch.
95+
- Watch especially `actions/checkout`, `actions/upload-artifact`, `actions/download-artifact`, and `softprops/action-gh-release`.
96+
5997
## Commercial release blockers
6098

6199
These must be resolved before marketing this as production-ready for external customers:

0 commit comments

Comments
 (0)