Repository navigation
Add a release workflow for the Swift API - #27
Merged
Merged
Conversation
A manual workflow (Actions > Release > Run workflow) that tags main as ShimmerSwiftAPI_v<version> and creates its GitHub release, after the test suite passes on that commit. Notes are GitHub's generated list, counted from the previous ShimmerSwiftAPI_v* tag rather than from the gRPC server's tags. It refuses a run off main, a version that is not MAJOR.MINOR.PATCH, one that exists, or one below the last release, and a dry run stops before creating anything. Source-only, like the releases before it. AGENTS.md documents it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
harithjamadi
self-requested a review
November 5, 2026 02:41
harithjamadi
approved these changes
Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/release.yml, a manual workflow for Swift API releases, and a "Releasing" section inAGENTS.md.How to use it
Go to Actions > Release > Run workflow on
main, or run:It tags the commit
ShimmerSwiftAPI_v<version>, the same naming asShimmerSwiftAPI_v1.0.0, and creates the GitHub release.What it does
main. It also refuses a version that is notMAJOR.MINOR.PATCH, a tag that already exists, or a version not above the lastShimmerSwiftAPI_v*release.xcodebuild test -scheme ShimmerBluetoothTests, the same gate asswift.yml, on the commit being released.ShimmerSwiftAPI_v*tag, so theShimmerBLEGrpc_v*tags are skipped.prereleasemarks the release as a pre-release.dry_runruns the tests and shows the notes in the run summary, but creates no tag or release.What it doesn't do
MARKETING_VERSIONunchanged.ShimmerBLEGrpc_v*releases.Permissions
The repository's default workflow token is read-only, so the workflow requests
contents: writefor itself. No tag ruleset blocks it.Testing
1.10.0is accepted after1.9.0.1.0.1,1.1,v1.1.0and1.1.0-rc1are refused.sort -t. -k1,1n -k2,2n -k3,3nrather thansort -V, which might not exist on the macOS runner.generate-notescall was run against this repository for1.1.0. It returned the PRs merged sinceShimmerSwiftAPI_v1.0.0.workflow_dispatchworkflow can only be started once it is on the default branch. After merging, run it withdry_run=truefirst.🤖 Generated with Claude Code