Repository navigation
fix(ci): release snaps to stable only - #2295
Merged
TerryHowe merged 1 commit intoOct 24, 2026
Merged
Conversation
The snap store token can only release to the stable channel, so the v1.3.6 publish (stable,candidate) failed on every architecture. Release stable builds to stable only, and skip publishing pre-releases, which would have targeted candidate. Fixes oras-project#2294 Signed-off-by: sarankumar1325 <[email protected]>
sarankumar1325
requested review from
TerryHowe,
Wwwsylvia,
sabre1041,
sajayantony and
shizhMSFT
as code owners
October 24, 2026 20:07
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2295 +/- ##
=======================================
Coverage 60.95% 60.95%
=======================================
Files 140 140
Lines 6098 6098
=======================================
Hits 3717 3717
Misses 2161 2161
Partials 220 220 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
4 tasks done
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.
What this PR does / why we need it:
The v1.3.6 snap release failed at
publishon every architecture withinvalid-channel-permission: Macaroon channel restrictions (stable) do not allow release to candidate. #2274 made stable releases go tostable,candidate, butSNAPCRAFT_STORE_CREDENTIALScan only release tostable.This PR follows the approach in #2294:
stableonly, as in v1.3.5 and earlier. Thecandidate,betaandedgechannels are closed and followstable(Snap packaging and release follow-ups #2272).publishstep runs only whenisStableis true. Pre-releases would have gone tocandidate, which the token can't release to either, so they are no longer published to the snap store. The snap is still built, and RCs are still published on GitHub Releases.After this merges, the
release-snapworkflow needs a rerun for v1.3.6 withisStable: true.Which issue(s) this PR fixes:
Fixes #2294
Please check the following list:
actionlint.I used an AI coding assistant to help write this change. I reviewed it myself.