From 3666ecd0ae63e7cdcc75e1c682c525991e8542be Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 13 Nov 2024 13:25:23 +1300 Subject: [PATCH] Backport updating release script to use ssh. Commit: b82f882c3d9011bab9da05a6159f701e979b4348 From 2021-08-13, GitHub is no longer accepting account passwords when authenticating Git operations. You need to add a PAT (Personal Access Token) instead for HTTPS. We should intead keep things simple and just use ssh to push to GitHub. Signed-off-by: James Blair --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index a017c3cfe6d..b695e99bc14 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -41,7 +41,7 @@ main() { REPOSITORY=$(pwd) BRANCH=$(git rev-parse --abbrev-ref HEAD) else - REPOSITORY=${REPOSITORY:-"https://github.com/etcd-io/etcd.git"} + REPOSITORY=${REPOSITORY:-"git@github.com:etcd-io/etcd.git"} BRANCH=${BRANCH:-"release-${MINOR_VERSION}"} fi