From 3df7db747bae2ae5c7db5ede5ce40701a9ef38b3 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 13 Apr 2023 07:13:10 +0100 Subject: [PATCH] Checkout repo after create Signed-off-by: Marcus Noble --- home/.bin/gs-create-repo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/.bin/gs-create-repo b/home/.bin/gs-create-repo index e99e058..f2f2d1d 100755 --- a/home/.bin/gs-create-repo +++ b/home/.bin/gs-create-repo @@ -59,7 +59,9 @@ REPOSITORY_NAME=${POS_ARGS[0]} echo "✨ Creating new repo $(italic ${VISIBILITY}) $(orange ${REPOSITORY_NAME}) using base template $(blue ${TEMPLATE})" -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 mv 'helm/{APP-NAME}' helm/${REPOSITORY_NAME}