Download the PHP package execut/yii2-composer-release-command without Composer
On this page you can find all versions of the php package execut/yii2-composer-release-command. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download execut/yii2-composer-release-command
More information about execut/yii2-composer-release-command
Files in execut/yii2-composer-release-command
Package yii2-composer-release-command
Short Description Yii2 command for fast releasing and versioning composer packages
License Apache-2.0
Homepage https://github.com/execut/yii2-composer-release-command
Informations about the package yii2-composer-release-command
Yii2 command for fast releasing and versioning composer packages
This command can publish and calculate the version of the set of packages in your project at a one fast and simple run:
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the section of your composer.json
file.
Configuration example
Add to console config following rules:
Usage
All released packages must be installed with .git via --prefer-source composer flag (see composer documentation). Fast way for adding git inside installed packages:
- Delete them
- Run for fresh install of package with git server
After running console command the happen next operations:
- Each folder with .git, specified inside configuration file checked for new changes
- If has changes happen the next operations:
- git add .
- git pull origin master
- git checkout master
- git pull
- git commit with message passed via console argument --message(m) or entered inside console dialog
- git push
- Calculating and tagging new version by next rule: (major version).(minor version).(path version). Console argument --level(l) set level of calculation next version. 0 - major, 1 - minor, 2 - path (default)
- git push --tags
Console arguments:
Name | Short name | Description | Default value |
---|---|---|---|
--message | -m | Commit message | |
--level | -l | level of calculated next version. 0 - major, 1 - minor, 2 - path | 2 |
License
yii2-composer-release-command is released under the Apache License Version 2.0. See the bundled LICENSE.md
for details.