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

publish snap to edge/beta at the same time to avoid error #447

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

plars
Copy link
Collaborator

@plars plars commented Jan 16, 2025

Description

I noticed that some recent runs of this action worked when publishing to edge, but when it published to beta it failed a "uniqueness" test. I don't recall seeing this before, not sure if it's something new that was added or what. But it looks like specifying both channels on the same line will let it do the publish to both at once, so it doesn't think that it's a different snap.

Tests

I tried it out here and it worked:
https://github.com/canonical/testflinger/actions/runs/12813101195/job/35726357684

@plars plars requested a review from a team January 16, 2025 16:27
Copy link

@omar-selo omar-selo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@plars plars merged commit 3d4b851 into main Jan 17, 2025
1 check passed
@plars plars deleted the fix-snap-publish branch January 17, 2025 15:13
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.

2 participants