code-push icon indicating copy to clipboard operation
code-push copied to clipboard

Can I promote a specific label?

Open beinginorbit opened this issue 10 years ago • 11 comments

It'd be awesome if I could promote a specific label, we basically have different targets to maintain on the same deployments and sometimes release updates to older targets.

beinginorbit avatar Jun 23 '16 21:06 beinginorbit

I think it should be pretty straight forward to have this feature. We thought about this when we implemented the promote feature but we weren't sure if it would be valuable. For your example I think it would be useful.

code-push promote <AppName> <Deployment1> <Deployment2> -l <label to promote>

We can add an optional label parameter[default: latest label] to the promote command which would pick up the corresponding label from Deployment1 and promote to Deployment2. Does this sound good to you?

I will add this item to our feature backlog, and use this issue to track it. We will keep you posted once we have it implemented.

shishirx34 avatar Jun 23 '16 22:06 shishirx34

@shishirx34 sounds good to me, thanks.

beinginorbit avatar Jun 23 '16 22:06 beinginorbit

We're also interested in this!

We'd like to move to a model where we have several code push lineages (one per native x.y bump) in play at once. Current approach might be to create a new deployment for each lineage, but that quickly gets cumbersome (especially when we have multiple deployments already)

nevir avatar Sep 06 '16 21:09 nevir

+1 Also very interested in this feature.

dbeard-groupon avatar Oct 12 '16 19:10 dbeard-groupon

Tagging @chendo on this issue as he had a similar request.

richardhuaaa avatar Oct 20 '16 17:10 richardhuaaa

@shishirx34 I am wondering if you have plans to address this issue soon?

keertimaan avatar Feb 06 '17 19:02 keertimaan

@silhouettes should be able to answer it.

shishirx34 avatar Feb 06 '17 19:02 shishirx34

@silhouettes ^^^

keertimaan avatar Feb 09 '17 19:02 keertimaan

@max-mironov Would you be able to implement this?

richardhuaaa avatar Feb 09 '17 20:02 richardhuaaa

@silhouettes sure, I'll take this!

max-mironov avatar Feb 10 '17 08:02 max-mironov

Closing this due to #394 has been merged, please feel free to reopen if needed.

sergey-akhalkov avatar Feb 17 '17 08:02 sergey-akhalkov