1 Star 0 Fork 28

hsr/music-dl

forked from guanguans/music-dl 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
monorepo-builder.php 2.16 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
declare(strict_types=1);
/**
* This file is part of the guanguans/music-dl.
*
* (c) guanguans <[email protected]>
*
* This source file is subject to the MIT license that is bundled.
*/
use Guanguans\MonorepoBuilderWorker\CreateGithubReleaseReleaseWorker;
use Guanguans\MonorepoBuilderWorker\Support\EnvironmentChecker;
use Guanguans\MonorepoBuilderWorker\UpdateChangelogViaGoReleaseWorker;
use Guanguans\MonorepoBuilderWorker\UpdateChangelogViaNodeReleaseWorker;
use Guanguans\MonorepoBuilderWorker\UpdateChangelogViaPhpReleaseWorker;
use Symplify\MonorepoBuilder\Config\MBConfig;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\AddTagToChangelogReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\SetCurrentMutualDependenciesReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\SetNextMutualDependenciesReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateBranchAliasReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateReplaceReleaseWorker;
return static function (MBConfig $mbConfig): void {
require __DIR__.'/vendor/autoload.php';
$mbConfig->defaultBranch('master');
/**
* release workers - in order to execute
*
* @see https://github.com/symplify/monorepo-builder#6-release-flow
*/
$mbConfig->workers($workers = [
// UpdateReplaceReleaseWorker::class,
// SetCurrentMutualDependenciesReleaseWorker::class,
// AddTagToChangelogReleaseWorker::class,
TagVersionReleaseWorker::class,
PushTagReleaseWorker::class,
UpdateChangelogViaGoReleaseWorker::class,
// UpdateChangelogViaNodeReleaseWorker::class,
// UpdateChangelogViaPhpReleaseWorker::class,
CreateGithubReleaseReleaseWorker::class,
// SetNextMutualDependenciesReleaseWorker::class,
// UpdateBranchAliasReleaseWorker::class,
// PushNextDevReleaseWorker::class,
]);
EnvironmentChecker::checks($workers);
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/hsrgrsy/music-dl.git
[email protected]:hsrgrsy/music-dl.git
hsrgrsy
music-dl
music-dl
master

搜索帮助