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

2019-09-05 Thread Paul King
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  wrote:

> On 2019-09-05,  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-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>
>


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

2019-09-05 Thread Jaikiran Pai
Hi Stefan,

On 05/09/19 12:38 PM, Stefan Bodewig wrote:
> On 2019-09-05,  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]   
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  on  to the selected store .
   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-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



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

2019-09-05 Thread Stefan Bodewig
On 2019-09-05,  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-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org