From 827c5d12a379365d8935b1f386af82f1913bf4b4 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 23 Nov 2020 09:46:14 +0900 Subject: [PATCH] Modify upgrade script to append repo before tag name --- production/mempool-upgrade-all | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/production/mempool-upgrade-all b/production/mempool-upgrade-all index 029ff7d79..b8fdac452 100755 --- a/production/mempool-upgrade-all +++ b/production/mempool-upgrade-all @@ -14,21 +14,21 @@ source "$NVM_DIR/nvm.sh" REPO=origin BRANCH=master -TAG="${REPO}/${BRANCH}" +TAG="${BRANCH}" [ ! -z "$1" ] && TAG=$1 echo "upgrading mempool to ${TAG}" | wall cd "$HOME/mempool" git fetch "${REPO}" -git reset --hard "${TAG}" +git reset --hard "${REPO}/${TAG}" cd "$HOME/" for site in mainnet liquid testnet bisq do cd "$HOME/${site}" git fetch "${REPO}" - git reset --hard "${TAG}" + git reset --hard "${REPO}/${TAG}" hash=$(git rev-parse HEAD) if [ "${site}" = "mainnet" ]