guanguans/monorepo-builder-worker

List of release worker collections for symplify/monorepo-builder.

Fund package maintenance!
Wechat

Installs: 15 329

Dependents: 16

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0


README

简体中文 | ENGLISH

List of release worker collections for symplify/monorepo-builder.

tests check & fix styling psalm rector codecov Latest Stable Version GitHub release (latest by date) GitHub repo size Total Downloads License

Requirement

  • PHP >= 7.3

Installation

composer require guanguans/monorepo-builder-worker --prefer-dist --dev -v

Usage

refer to monorepo-builder.php

╰─ ./vendor/bin/monorepo-builder release patch --ansi -v                                                            ─╯

 ! [NOTE] Checking environment...                                                                                       


 ! [NOTE] Running process: git-chglog -v                                                                                

 ! [NOTE] Running process: gh auth status                                                                               

 ! [NOTE] Environment checked!                                                                                          


 ! [NOTE] Running process: git tag -l --sort=committerdate                                                              

1/4) Add local tag "1.1.3"
==========================

class: Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker

 ! [NOTE] Running process: git add . && git commit -m "prepare release" && git push origin "main"                       

 ! [NOTE] Running process: git tag 1.1.3                                                                                

2/4) Push "1.1.3" tag to remote repository
==========================================

class: Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker

 ! [NOTE] Running process: git push --tags                                                                              

3/4) Update changelog "1.1.3 (2023-07-21)"
==========================================

class: Guanguans\MonorepoBuilderWorker\GoUpdateChangelogReleaseWorker

 ! [NOTE] Running process: git-chglog --output CHANGELOG.md                                                             

 ! [NOTE] Running process: git add CHANGELOG.md && git commit -m "chore(release): 1.1.3" --no-verify && git push        

 ! [NOTE] Running process: git-chglog 1.1.3                                                                             

4/4) Create github release "1.1.3"
==================================

class: Guanguans\MonorepoBuilderWorker\CreateGithubReleaseWorker

 ! [NOTE] Running process: gh release create 1.1.3 --notes <a name="1.1.3"></a>                                         
 !        ## [1.1.3] - 2023-07-21                                                                                       
 !        ### Chore                                                                                                     
 !        - **ReleaseWorker:** optimize changelog generation                                                            
 !        - **release:** 1.1.2                                                                                          
 !                                                                                                                      
 !        ### Docs                                                                                                      
 !        - **changelog:** add link to git-chglog                                                                       
 !                                                                                                                      
 !        ### Feat                                                                                                      
 !        - **Contract:** Add ChangelogInterface                                                                        
 !                                                                                                                      
 !        ### Refactor                                                                                                  
 !        - **CreateGithubReleaseWorker:** improve changelog handling                                                   
 !                                                                                                                      
 !                                                                                                                      
 !        [1.1.3]: https://github.com/guanguans/monorepo-builder-worker/compare/1.1.2...1.1.3                           

                                                                                                                        
 [OK] Version "1.1.3" is now released!                                                                                  
                                                                                                                        

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.