Skip to content

Automatically publish to Ubuntu Snaps #376

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

Merged
merged 1 commit into from
Jul 11, 2025
Merged

Automatically publish to Ubuntu Snaps #376

merged 1 commit into from
Jul 11, 2025

Conversation

jviotti
Copy link
Member

@jviotti jviotti commented Jun 27, 2025

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

@jviotti
Copy link
Member Author

jviotti commented Jun 27, 2025

Currently waiting for approval to register the name jsonschema on the new Sourcemeta Snap account

@jviotti
Copy link
Member Author

jviotti commented Jun 27, 2025

I also added the Snap credentials to the repo, but looks like I can restrict the token even more to only the relevant Snap (once approved) as discussed here: https://github.com/snapcore/action-publish?tab=readme-ov-file#store-login

@jviotti
Copy link
Member Author

jviotti commented Jul 3, 2025

So I never received any notification. My Snapcraft account seems to show I have the name:

Screenshot 2025-07-03 at 14 52 34

But upload fails:

resource-not-found: Snap not found for name=jsonschema

And snapcraft names says No registered snaps

@Karan-Palan Did you need to do anything specific to register the Snaps you published?

@jviotti
Copy link
Member Author

jviotti commented Jul 8, 2025

OK, name approved! But we still need classic confinement to be approved here: https://forum.snapcraft.io/t/classic-confinement-for-snap-jsonschema/47631

@Karan-Palan
Copy link
Contributor

That's nice. Hopefully it gets approved soon!

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti jviotti changed the title [WIP] Automatically publish to Ubuntu Snaps Automatically publish to Ubuntu Snaps Jul 11, 2025
@jviotti jviotti marked this pull request as ready for review July 11, 2025 15:33
@jviotti
Copy link
Member Author

jviotti commented Jul 11, 2025

We are done! https://snapcraft.io/jsonschema. I manually uploaded the first version and I'll try the next one with automation.

@jviotti jviotti merged commit 41702ca into main Jul 11, 2025
6 of 11 checks passed
@jviotti jviotti deleted the publish-snap branch July 11, 2025 15:34
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