fixup! build: Add privateremote
helper
Change-Id: I09c52df9e9dc7c5a825e641d6299581432591920
This commit is contained in:
@@ -330,9 +330,7 @@ function privateremote()
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
git remote rm private 2> /dev/null
|
git remote rm private 2> /dev/null
|
||||||
local REMOTE=$(git config --get remote.github.projectname)
|
local PROJECT=$(git config --get remote.github.projectname)
|
||||||
|
|
||||||
local PROJECT=$(echo $REMOTE | sed -e "s#https://github.com/##g")
|
|
||||||
|
|
||||||
git remote add private git@github.com:$PROJECT.git
|
git remote add private git@github.com:$PROJECT.git
|
||||||
echo "Remote 'private' created"
|
echo "Remote 'private' created"
|
||||||
|
Reference in New Issue
Block a user