Merge branch 'update-script-update' into 'master'
feat: Make update detach origin remote See merge request mythic-insight/legendary!31
This commit is contained in:
commit
b76c7a8249
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@ DIR_PATH=$(dirname $FULL_PATH)
|
|||
|
||||
$DIR_PATH/bootstrap
|
||||
|
||||
ORIGIN=`git remote get-url origin || echo ''`
|
||||
FRAMEWORK=`git remote get-url framework || echo ''`
|
||||
|
||||
if [ "$ORIGIN" == 'git@gitlab.com:mythic-insight/legendary.git' ] && [ "$FRAMEWORK" != 'git@gitlab.com:mythic-insight/legendary.git' ]; then
|
||||
echo "Setting Legendary repo as 'framework' remote"
|
||||
git remote add framework git@gitlab.com:mythic-insight/legendary.git
|
||||
git remote remove origin
|
||||
fi;
|
||||
|
||||
mix deps.get
|
||||
mix npm.install
|
||||
mix ecto.create
|
||||
|
|
Loading…
Reference in a new issue