[monorepo] init build script

This commit is contained in:
TomasVotruba 2018-01-14 20:33:55 +01:00
parent 441efc7292
commit aab3c28fc6
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
git subsplit init git@github.com:rectorphp/rector.git
LAST_TAG=$(git tag -l --sort=committerdate | tail -n1);
git subsplit publish --heads="master" --tags=$LAST_TAG packages/NodeTypeResolver:git@github.com:rectorphp/node-type-resolver.git
rm -rf .subsplit/
# inspired by laravel: https://github.com/laravel/framework/blob/5.4/build/illuminate-split-full.sh
# they use SensioLabs now though: https://github.com/laravel/framework/pull/17048#issuecomment-269915319