You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2019/09/05 07:08:14 UTC

Re: [ant] branch master updated: Clarify the snapcraft release command

On 2019-09-05, <ja...@apache.org> wrote:

> -    $ snapcraft release ant REVISION latest/stable 1.10/stable
> +    $ snapcraft release ant REVISION latest/stable
> +    $ snapcraft release ant REVISION 1.10/stable

I'm pretty sure I've done it with the single command when I published
1.10.6, but I may be wrong. Also the snapcraft CLI may have changed in
between.

Thank you for improving the instructions.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [ant] branch master updated: Clarify the snapcraft release command

Posted by Jaikiran Pai <ja...@apache.org>.
Hi Stefan,

On 05/09/19 12:38 PM, Stefan Bodewig wrote:
> On 2019-09-05, <ja...@apache.org> wrote:
>
>> -    $ snapcraft release ant REVISION latest/stable 1.10/stable
>> +    $ snapcraft release ant REVISION latest/stable
>> +    $ snapcraft release ant REVISION 1.10/stable
> I'm pretty sure I've done it with the single command when I published
> 1.10.6, but I may be wrong. Also the snapcraft CLI may have changed in
> between.

I think maybe they changed their CLI. When I ran the following during
the release:

snapcraft release ant 13 latest/stable 1.10/stable

I kept getting an error:

Usage: snapcraft release [OPTIONS] <snap-name> <revision> <channels>
Try "snapcraft release -h" for help.

Error: Got unexpected extra argument (1.10/stable)

Splitting them up into two, worked fine.

Now that I have a few minutes, I checked their documentation (snapcraft
release -h) and that states:

"Release <snap-name> on <revision> to the selected store <channels>.
  <channels> is a comma separated list of valid channels on the store.

..."

So if I had used a comma separated list, I guess that would have worked too.

-Jaikiran



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [ant] branch master updated: Clarify the snapcraft release command

Posted by Paul King <pa...@asert.com.au>.
For Groovy we use a single command but as part of push with multiple
--release options, something like:

snapcraft push --release=3.0/beta --release=beta groovy_3.0.0-beta-3_all.snap


On Thu, Sep 5, 2019 at 5:08 PM Stefan Bodewig <bo...@apache.org> wrote:

> On 2019-09-05, <ja...@apache.org> wrote:
>
> > -    $ snapcraft release ant REVISION latest/stable 1.10/stable
> > +    $ snapcraft release ant REVISION latest/stable
> > +    $ snapcraft release ant REVISION 1.10/stable
>
> I'm pretty sure I've done it with the single command when I published
> 1.10.6, but I may be wrong. Also the snapcraft CLI may have changed in
> between.
>
> Thank you for improving the instructions.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>