Repository navigation
feat(snap): publish prerelease builds to latest/beta channel - #4870
Conversation
Signed-off-by: Oliver Calder <oliver.calder@canonical.com>
|
The existing latest-version guard covers most out-of-order publication cases. There’s still a narrow window where an older run passes the check, then finishes uploading after a newer prerelease has published. We could close that by adding concurrency to concurrency:
group: snap-publish-${{ inputs.upload-channel }}-${{ matrix.arch }}
cancel-in-progress: false
queue: maxThe guard would then run after acquiring the publication slot. I’d treat this as a follow-up rather than a blocker. The packaging test failure does need fixing. I ran component_args+=(--component "${component_name}=${comp}")However, component_args+=(--component "$comp")It looks like the corresponding publisher change was omitted from the PR. Adding the component-name mapping would satisfy the assertion and match Snapcraft’s documented |
Signed-off-by: Oliver Calder <oliver.calder@canonical.com>
Signed-off-by: Oliver Calder <oliver.calder@canonical.com>
|
Fixed both points, thanks @SDAChess |
|
/ok-to-test d6861c9 |
Summary
Publish the pre-release
.snapartifact to thelatest/betachannel of theopenshellsnap package on the Snap Store.Related Issue
Closes #4869
Changes
.snapartifact built in CI to thelatest/betachannelOPENSHELL_VERSION=pre install.shselect the snap package fromlatest/betarather than falling back to the .deb/.rpm-pre.Xin versionsRelease Notes
Testing
Checklist