Code Monkey home page Code Monkey logo

monorepo-split's Introduction

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

monorepo-split's People

Contributors

mouyong avatar

Stargazers

 avatar 万欢喜 avatar  avatar Jrson avatar ifui avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.