From bdd57848dccc3726f2f5ef46abcc968b577b5fea Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 18 Aug 2020 11:45:15 -0700 Subject: [PATCH] scripts/release: logging release version Signed-off-by: Gyuho Lee --- scripts/release | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/release b/scripts/release index 1bbc45a7ee8..635f63b8d0a 100755 --- a/scripts/release +++ b/scripts/release @@ -86,6 +86,9 @@ main() { echo "Wrong etcd version in version/version.go. Expected ${etcd_version} but got ${VERSION}. Aborting." exit 1 fi + echo "bin/etcd --version:" + bin/etcd --version + sleep 3 if [[ ! -z $(git status -s) ]]; then echo "Committing version/version.go update." @@ -152,6 +155,9 @@ main() { # Sanity checks. ./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcd --version | grep -q "etcd Version: ${VERSION}" || true ./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcdctl version | grep -q "etcdctl version: ${VERSION}" || true + echo "./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcd --version:" + ./release/etcd-${RELEASE_VERSION}-$(go env GOOS)-amd64/etcd --version + sleep 3 # Upload artifacts. if [ "${NO_UPLOAD}" == 1 ]; then