Couscous icon indicating copy to clipboard operation
Couscous copied to clipboard

Auto-release PHAR from tag

Open mnapoli opened this issue 8 years ago • 7 comments

I've read this interesting bit on how to generate a phar file in Travis CI and upload it as a GitHub release: https://andreas.heigl.org/2017/01/18/building-a-phar-automated/ That could be applied to Couscous to simplify releasing.

mnapoli avatar Jan 19 '17 12:01 mnapoli

Sure this seems great! Will try to find some time to take a look at it...

wysow avatar Jan 19 '17 19:01 wysow

@mnapoli Seems like we will need to find another tool because of this: https://github.com/clue/phar-composer/blob/master/composer.json#L15... I'm searching right now... Maybe https://github.com/box-project/box2 which is the replacement for phine/phar which is abandoned...

wysow avatar Jan 23 '17 10:01 wysow

Ok box2 project is also using abandoned dependencies, so maybe https://github.com/box-project/box2-lib is the right one...

wysow avatar Jan 23 '17 10:01 wysow

@wysow why not call bin/compile directly? It already works today so I don't see why this needs to be changed for the auto-release on Travis

mnapoli avatar Jan 23 '17 11:01 mnapoli

Sure we can do this, but what about abandoned dependencies? Should we keep them?

wysow avatar Jan 23 '17 12:01 wysow

Another tool we could use is https://github.com/methylbro/compiler (I will try to find time to contribute BTW), it will be released stable on https://github.com/millesime/millesime at some point...

wysow avatar Jan 23 '17 13:01 wysow

OK I didn't understand that we are already using abandoned dependencies today. However they still work for now, I'm not against changing that though. Maybe it should be done separately from the auto-release since it's not related?

mnapoli avatar Feb 05 '17 18:02 mnapoli