Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #22064
| From | rino <rino@mio.mio> |
|---|---|
| Newsgroups | it.comp.www.php |
| Subject | Re: scaricare package con composer |
| Date | 2018-05-15 20:42 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <pdf9no$33d$1@gioia.aioe.org> (permalink) |
| References | <pdeemd$e8u$2@gioia.aioe.org> <flvvmpFf499U1@mid.individual.net> <pdel7v$r83$1@gioia.aioe.org> <fm0gf3Fipu1U1@mid.individual.net> |
Il 15/05/2018 18:33, Alessandro Pellizzari ha scritto: > >> Il problema e che sono solo all'inizio e ne capisco poco :) >> Composer lo so usare ma per scaricare/gestire i pacchetti degli altri. >> Pensavo fosse semplice anche creare un mio pacchetto, invece... > > Per taggare una release con una versione usi `git tag`, poi quando fai > il push devi specificare `git push --tags origin master` (o il branch > che รจ). > > Se hai configurato l'hook per packagist nel tuo repo git, quando pushi, > packagist viene notificato automaticamente e la versione viene resa > disponibile da composer. $ git clone https://github.com/rino1/test.git Cloning into 'test'... remote: Counting objects: 87, done. remote: Compressing objects: 100% (21/21), done. remote: Total 87 (delta 3), reused 15 (delta 1), pack-reused 62 Unpacking objects: 100% (87/87), done. Checking connectivity... fatto. $ cd test/ $ git tag 5.0.0 $ git push --tags origin master Total 0 (delta 0), reused 0 (delta 0) To https://github.com/rino1/test.git * [new tag] 5.0.0 -> 5.0.0 $ composer req rino1/test [InvalidArgumentException] Could not find package rino1/test at any version for your minimum-stability (stable). Check the package spelling or your minim um-stability
Back to it.comp.www.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
scaricare package con composer rino <rino@mio.mio> - 2018-05-15 13:01 +0200
Re: scaricare package con composer Alessandro Pellizzari <shuriken@amiran.it> - 2018-05-15 12:47 +0100
Re: scaricare package con composer rino <rino@mio.mio> - 2018-05-15 14:53 +0200
Re: scaricare package con composer rino <rino@mio.mio> - 2018-05-15 15:24 +0200
Re: scaricare package con composer Alessandro Pellizzari <shuriken@amiran.it> - 2018-05-15 17:33 +0100
Re: scaricare package con composer rino <rino@mio.mio> - 2018-05-15 20:42 +0200
Re: scaricare package con composer Alessandro Pellizzari <shuriken@amiran.it> - 2018-05-16 10:10 +0100
Re: scaricare package con composer rino <rino@mio.mio> - 2018-05-16 12:54 +0200
csiph-web