From 6f560c1c4d93c1b307afc4b8819be138fc7b293f Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Thu, 26 Apr 2018 09:08:38 -0500 Subject: [PATCH] tag_repos: Clone using https If ssh keys are not set ssh clone wont work. Clone using https and push using ssh. Signed-off-by: Jose Carlos Venegas Munoz --- release/tag_repos.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/tag_repos.sh b/release/tag_repos.sh index 8e4c5ae3..3f3bd7e3 100755 --- a/release/tag_repos.sh +++ b/release/tag_repos.sh @@ -84,8 +84,9 @@ tag_repos() { info "Creating tag ${kata_version} in all repos" for repo in "${repos[@]}"; do - git clone --quiet "git@github.com:${OWNER}/${repo}.git" + git clone --quiet "https://github.com/${OWNER}/${repo}.git" pushd "${repo}" + git remote set-url --push origin "git@github.com:${OWNER}/${repo}.git" git fetch origin --tags if git rev-parse -q --verify "refs/tags/${kata_version}"; then info "$repo already has tag "