Skip to content

mouyong/monorepo-split

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monorepo-split

添加 monorepo-split

git subtree add -P bin/ https://ghproxy.com/https://github.com/mouyong/monorepo-split.git master

使用说明

1. 分离子目录到仓库

更新 subtree-split.sh的变量:CURRENT_BRANCH

注:使用 subtree 方式进行分离,见:https://github.com/mouyong/monorepo-split/blob/master/.github/workflows/split.yml#L41

# 当前分支
CURRENT_BRANCH="master"

# split.sh 子目录仓库
remote dcat-saas [email protected]:mouyong/dcat-saas.git

# split.sh 分离子目录到分支
split 'extensions/plugins/DcatSaas' dcat-saas

执行分离: bash ./bin/subtree-split.sh

2. 发布 tag

更新 release.sh的变量:RELEASE_BRANCH

# release.sh 从 RELEASE_BRANCH 发布 tag
release dcat-saas [email protected]:mouyong/dcat-saas.git

执行发布: bash ./bin/release.sh v0.0.1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages