Skip to content

Commit

Permalink
refactor(monorepo-builder): update CreateGithubReleaseWorker to Creat…
Browse files Browse the repository at this point in the history
…eGithubReleaseReleaseWorker

- Use CreateGithubReleaseReleaseWorker instead of CreateGithubReleaseWorker
- Remove unused require statement
  • Loading branch information
ityaozm@gmail.com committed Nov 13, 2023
1 parent ac9d332 commit 15b5587
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 63 deletions.
120 changes: 60 additions & 60 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions monorepo-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This source file is subject to the MIT license that is bundled.
*/

use Guanguans\MonorepoBuilderWorker\CreateGithubReleaseWorker;
use Guanguans\MonorepoBuilderWorker\CreateGithubReleaseReleaseWorker;
use Guanguans\MonorepoBuilderWorker\Support\EnvironmentChecker;
use Guanguans\MonorepoBuilderWorker\UpdateChangelogViaGoReleaseWorker;
use Guanguans\MonorepoBuilderWorker\UpdateChangelogViaNodeReleaseWorker;
Expand All @@ -26,7 +26,6 @@
use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateReplaceReleaseWorker;

return static function (MBConfig $mbConfig): void {
require __DIR__.'/vendor-bin/monorepo-builder-worker/vendor/guanguans/monorepo-builder-worker/bin/namespace-prefix-fixer.php';
require __DIR__.'/vendor-bin/monorepo-builder-worker/vendor/autoload.php';
$mbConfig->defaultBranch('main');

Expand All @@ -44,7 +43,7 @@
UpdateChangelogViaGoReleaseWorker::class,
// UpdateChangelogViaNodeReleaseWorker::class,
// UpdateChangelogViaPhpReleaseWorker::class,
CreateGithubReleaseWorker::class,
CreateGithubReleaseReleaseWorker::class,
// SetNextMutualDependenciesReleaseWorker::class,
// UpdateBranchAliasReleaseWorker::class,
// PushNextDevReleaseWorker::class,
Expand Down

0 comments on commit 15b5587

Please sign in to comment.