cigar icon indicating copy to clipboard operation
cigar copied to clipboard

Add cigar.phar to your release process

Open c33s opened this issue 6 years ago • 4 comments

having a phar file would be awesome

c33s avatar Oct 24 '19 14:10 c33s

It would! I'll have to look into how phar files are packaged :)

Brunty avatar Oct 28 '19 11:10 Brunty

  • just get box
    • https://github.com/humbug/box (=box3 => newer version)
    • https://github.com/box-project/box2 (if you have problems with box3 just try box2)
  • run box inside your repo (with box3 no config files needed)
  • you find your phar file in bin/cigar.phar

i tested the phar file with your example .cigar,json works like charm.

c33s avatar Oct 28 '19 13:10 c33s

It's pretty easy, check this box.json for example; https://github.com/elgentos/masquerade/blob/master/box.json

peterjaap avatar Nov 25 '19 13:11 peterjaap

You could probably use a Github Action to add a .phar to a new tag

WyriHaximus avatar Nov 30 '19 21:11 WyriHaximus