I’m not sure if Snapcraft has a way to build snaps against an unstable base.
I’ve just built an snap against core16. But I can’t release it as stable since if I change the grade to stable I get the error message (during the priming stage):
Snap 'grade' was set to 'stable' but must be 'devel'.
Set 'grade' to 'devel' or use a stable base for this snap.
I can link to the source code later, but here is the
summary: OpenBSD micro Emacs clone
mg is intended to be a small, fast, and portable editor for
people who can't (or don't want to) run emacs for one reason
or another, or are not familiar with the vi editor. It is
compatible with emacs because there shouldn't be any reason to
learn more editor types than emacs or vi.
grade: devel # stable devel
confinement: strict # strict devmode
echo $(git rev-parse HEAD | cut -c1-7)