Checkout repo after create
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
1cd2abbcc4
commit
3df7db747b
@ -61,6 +61,8 @@ echo "✨ Creating new repo $(italic ${VISIBILITY}) $(orange ${REPOSITORY_NAME})
|
|||||||
|
|
||||||
gh repo create --${VISIBILITY} --template ${TEMPLATE} giantswarm/${REPOSITORY_NAME}
|
gh repo create --${VISIBILITY} --template ${TEMPLATE} giantswarm/${REPOSITORY_NAME}
|
||||||
|
|
||||||
|
git take git@github.com:giantswarm/${REPOSITORY_NAME}.git
|
||||||
|
|
||||||
if [ -d helm/APP-NAME ]; then
|
if [ -d helm/APP-NAME ]; then
|
||||||
mv 'helm/{APP-NAME}' helm/${REPOSITORY_NAME}
|
mv 'helm/{APP-NAME}' helm/${REPOSITORY_NAME}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user