From d2df4916dc131a2a7a0b936b4abe6d969a716131 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Wed, 30 Dec 2020 11:24:18 -0800 Subject: [PATCH] Fix script typo --- tools/publish.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/publish.bash b/tools/publish.bash index 4c46118..57a055e 100755 --- a/tools/publish.bash +++ b/tools/publish.bash @@ -10,7 +10,7 @@ if [[ -z "${DEPLOY_SSH_PRIVATE_KEY:-}" ]]; then DEPLOY_SSH_PRIVATE_KEY="$(base64 < "${DEPLOY_SSH_PUBLIC_KEY_FILE%.pub}")" fi -make push I=admin +make image push I=admin make pull image push I=packaging declare -A published_hashes @@ -77,10 +77,10 @@ for lang in "${langs[@]}"; do done done -composite_local_hash="$(node tools/hash-composite-image.js scripts)" -composite_remote_hash="$(node tools/hash-composite-image.js composite)" +composite_scripts_hash="$(node tools/hash-composite-image.js scripts)" +composite_registry_hash="$(node tools/hash-composite-image.js registry)" -if [[ "${composite_local_hash}" != "${composite_remote_hash}" ]]; then +if [[ "${composite_scripts_hash}" != "${composite_registry_hash}" ]]; then make image push I=composite else make pull I=composite