| Version | Date | Notes | By |
|---|---|---|---|
| 0.1 | 2017-04-12 | Initial release | FPA |
In order to perform a SGI release there are some steps that need to be taken:
In first place we need to merge de development branches of the modules we want to release into the corresponding master branches. In order to do that we can use the SourceTree git client.
Double click to checkout and change to master branch
Click merge button
Select the line corresponding to the commit we want to merge into the master branch, usually it will be first (top) line.
Click OK button in order to perform the merge
Click "Push" button placed in actions bar
On Push dialog, certify that the master branch is selected on both the local and remote branches (it is by default), and click the "Push" button
Repeat the steps above to all the modules you want to release/update, both on backend and frontend modules.
At this point, the frontend modules aren't separated from each others like it happens with backend modules. That means we need to perform these steps for all the backend modules. Be aware to certify that all code you are merging into master branch is runnable and do not breaks.
Assuming the environment is already installed, and you only want to update/release a new version, follow the steps bellow.
php artisan downgit checkout composer.json composer.lockgit pullcomposer installcomposer require wemake/sgi-xxxxx to reinstall the desired modules. Replace "xxxxx" with the module slug (you can indicate as many modules as you want in same require)php artisan migratephp artisan reseedphp artisan clear-a