Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only promote if release matches what we published #84

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jpm-canonical
Copy link
Contributor

@jpm-canonical jpm-canonical commented Aug 28, 2024

Summary

Closes #83

Testing Steps

@jpm-canonical
Copy link
Contributor Author

Issue 1

Snap promote does not allow specifying a specific revision number to promote. Only a source channel and destination channel.

Issue 2

snap info only list the main channels, not the sub-channels (branches), so there is no way to test the workflow without modifying the main channels.

@jpm-canonical
Copy link
Contributor Author

Re 1: Use release rather than promote.

$ snapcraft release -h
Usage:
    snapcraft release [options] <name> <revision> <channels>

Release at to the selected store .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow race condition
1 participant