hyperf/bin/split.sh

115 lines
4.4 KiB
Bash
Raw Normal View History

2018-12-27 15:11:47 +08:00
#!/usr/bin/env bash
set -e
set -x
CURRENT_BRANCH="master"
function split()
{
SHA1=`./bin/splitsh-lite --prefix=$1`
git push $2 "$SHA1:refs/heads/$CURRENT_BRANCH" -f
}
function remote()
{
git remote add $1 $2 || true
}
git pull origin $CURRENT_BRANCH
2019-03-14 18:25:32 +08:00
remote amqp git@github.com:hyperf-cloud/amqp.git
remote async-queue git@github.com:hyperf-cloud/async-queue.git
2019-03-14 18:25:32 +08:00
remote cache git@github.com:hyperf-cloud/cache.git
remote circuit-breaker git@github.com:hyperf-cloud/circuit-breaker.git
remote command git@github.com:hyperf-cloud/command.git
2019-03-14 18:25:32 +08:00
remote config git@github.com:hyperf-cloud/config.git
remote config-aliyun-acm git@github.com:hyperf-cloud/config-aliyun-acm.git
2019-03-14 18:25:32 +08:00
remote config-apollo git@github.com:hyperf-cloud/config-apollo.git
remote constants git@github.com:hyperf-cloud/constants.git
remote consul git@github.com:hyperf-cloud/consul.git
remote contract git@github.com:hyperf-cloud/contract.git
remote database git@github.com:hyperf-cloud/database.git
remote db-connection git@github.com:hyperf-cloud/db-connection.git
remote devtool git@github.com:hyperf-cloud/devtool.git
2018-12-27 20:00:04 +08:00
remote di git@github.com:hyperf-cloud/di.git
remote dispatcher git@github.com:hyperf-cloud/dispatcher.git
2019-03-14 18:25:32 +08:00
remote elasticsearch git@github.com:hyperf-cloud/elasticsearch.git
remote event git@github.com:hyperf-cloud/event.git
2019-06-19 15:17:01 +08:00
remote exception-handler git@github.com:hyperf-cloud/exception-handler.git
2018-12-27 20:00:04 +08:00
remote framework git@github.com:hyperf-cloud/framework.git
2019-05-03 22:47:45 +08:00
remote grpc git@github.com:hyperf-cloud/grpc.git
2019-03-14 18:25:32 +08:00
remote grpc-client git@github.com:hyperf-cloud/grpc-client.git
2018-12-27 20:00:04 +08:00
remote grpc-server git@github.com:hyperf-cloud/grpc-server.git
2019-03-14 18:25:32 +08:00
remote guzzle git@github.com:hyperf-cloud/guzzle.git
remote http-message git@github.com:hyperf-cloud/http-message.git
2018-12-27 20:00:04 +08:00
remote http-server git@github.com:hyperf-cloud/http-server.git
2019-05-03 22:47:45 +08:00
remote json-rpc git@github.com:hyperf-cloud/json-rpc.git
remote load-balancer git@github.com:hyperf-cloud/load-balancer.git
2019-03-14 18:25:32 +08:00
remote logger git@github.com:hyperf-cloud/logger.git
2018-12-27 20:00:04 +08:00
remote memory git@github.com:hyperf-cloud/memory.git
2019-03-14 18:25:32 +08:00
remote model-cache git@github.com:hyperf-cloud/model-cache.git
remote paginator git@github.com:hyperf-cloud/paginator.git
remote pool git@github.com:hyperf-cloud/pool.git
remote process git@github.com:hyperf-cloud/process.git
remote rate-limit git@github.com:hyperf-cloud/rate-limit.git
remote redis git@github.com:hyperf-cloud/redis.git
2019-05-03 22:47:45 +08:00
remote rpc git@github.com:hyperf-cloud/rpc.git
remote rpc-client git@github.com:hyperf-cloud/rpc-client.git
remote rpc-server git@github.com:hyperf-cloud/rpc-server.git
remote server git@github.com:hyperf-cloud/server.git
remote service-governance git@github.com:hyperf-cloud/service-governance.git
remote swagger git@github.com:hyperf-cloud/swagger.git
2019-06-19 17:20:53 +08:00
remote testing git@github.com:hyperf-cloud/testing.git
2019-03-14 18:25:32 +08:00
remote tracer git@github.com:hyperf-cloud/tracer.git
2018-12-27 20:00:04 +08:00
remote utils git@github.com:hyperf-cloud/utils.git
2019-06-21 21:33:44 +08:00
remote websocket-server git@github.com:hyperf-cloud/websocket-server.git
2019-06-26 11:35:45 +08:00
remote websocket-client git@github.com:hyperf-cloud/websocket-client.git
2018-12-27 15:11:47 +08:00
2019-03-14 18:25:32 +08:00
split 'src/amqp' amqp
split 'src/async-queue' async-queue
2019-03-14 18:25:32 +08:00
split 'src/cache' cache
split 'src/circuit-breaker' circuit-breaker
split 'src/command' command
2018-12-27 15:11:47 +08:00
split 'src/config' config
split 'src/config-aliyun-acm' config-aliyun-acm
2019-03-14 18:25:32 +08:00
split 'src/config-apollo' config-apollo
split 'src/constants' constants
split 'src/consul' consul
split 'src/contract' contract
split 'src/database' database
split 'src/db-connection' db-connection
split 'src/devtool' devtool
2018-12-27 15:11:47 +08:00
split 'src/di' di
split 'src/dispatcher' dispatcher
2019-03-14 18:25:32 +08:00
split 'src/elasticsearch' elasticsearch
split 'src/event' event
2019-06-19 15:17:01 +08:00
split 'src/exception-handler' exception-handler
2018-12-27 15:11:47 +08:00
split 'src/framework' framework
2019-05-03 22:47:45 +08:00
split 'src/grpc' grpc
2019-03-14 18:25:32 +08:00
split 'src/grpc-client' grpc-client
2018-12-27 15:11:47 +08:00
split 'src/grpc-server' grpc-server
2019-03-14 18:25:32 +08:00
split 'src/guzzle' guzzle
split 'src/http-message' http-message
2018-12-27 15:11:47 +08:00
split 'src/http-server' http-server
2019-05-03 22:47:45 +08:00
split 'src/json-rpc' json-rpc
split 'src/load-balancer' load-balancer
2019-03-14 18:25:32 +08:00
split 'src/logger' logger
2018-12-27 15:11:47 +08:00
split 'src/memory' memory
2019-03-14 18:25:32 +08:00
split 'src/model-cache' model-cache
split 'src/paginator' paginator
split 'src/pool' pool
split 'src/process' process
split 'src/rate-limit' rate-limit
split 'src/redis' redis
2019-05-03 22:47:45 +08:00
split 'src/rpc' rpc
split 'src/rpc-client' rpc-client
split 'src/rpc-server' rpc-server
split 'src/server' server
split 'src/service-governance' service-governance
2019-06-19 17:20:53 +08:00
split 'src/testing' testing
2019-03-14 18:25:32 +08:00
split 'src/tracer' tracer
2019-05-03 22:47:45 +08:00
split 'src/swagger' swagger
2019-06-21 21:33:44 +08:00
split 'src/utils' utils
2019-06-26 11:35:45 +08:00
split 'src/websocket-server' websocket-server
split 'src/websocket-client' websocket-client