Snap name different from distribution name? #588
-
I'm trying to publish my software using Snap, but I can't register my preferred name with on snapcraft.io. So I took a different Snap name there. The snapcraft.yml that JReleaser created contains From a JReleaser point-of-view, would it be advisable to create a second distribution, with the "alternative" name, and only bind the Snap release to it - keeping the Homebrew and other releases bound to the "preferred" name? Edit: as an aside, I am trying to get the preferred name with Snapcraft anyway, but my hopes aren't that high... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
If the only change from the standard template is
Homebrew allows the formula name to differ from the distribution name, I think Snap should have a similar setting, defaulting to |
Beta Was this translation helpful? Give feedback.
If the only change from the standard template is
{{distributionName}}
then you have two options:jreleaser template -p snap -b . -d <currentDistributionName>
then edit the generated file insrc/jreleaser/teemplates
.Homebrew allows the formula name to differ from the distribution name, I think Snap should have a similar setting, defaulting to
distributionName
if left unspecified.