From 46c6ea552ec3fdddfba6c44b4914b17f10ca29dc Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Fri, 14 Apr 2023 14:43:24 +0800 Subject: [PATCH] fix release.sh: git_assert_branch_in_sync not exist in 3.4 Signed-off-by: Benjamin Wang --- scripts/build-binary.sh | 2 +- scripts/release.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/build-binary.sh b/scripts/build-binary.sh index 91352183a19..cc757a65481 100755 --- a/scripts/build-binary.sh +++ b/scripts/build-binary.sh @@ -6,7 +6,7 @@ source ./scripts/test_lib.sh VER=$1 PROJ="etcd" -REPOSITORY="${REPOSITORY:-git@github.com:etcd-io/etcd.git}" +REPOSITORY="${REPOSITORY:-https://github.com/etcd-io/etcd.git}" if [ -z "$1" ]; then echo "Usage: ${0} VERSION" >> /dev/stderr diff --git a/scripts/release.sh b/scripts/release.sh index 1d8a9fb8e58..90f4f32cae8 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -69,8 +69,6 @@ main() { cd "${reldir}/etcd" || exit 2 git checkout "${BRANCH}" || exit 2 git pull origin - - git_assert_branch_in_sync || exit 2 fi # If a release version tag already exists, use it.