From 4f05039944713e7a1e251d3e15cc1e7f54bff491 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 13 Aug 2020 10:39:45 -0700 Subject: [PATCH] devops: do not fail check when refusing to publish TOT revision (#3443) --- utils/publish_all_packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/publish_all_packages.sh b/utils/publish_all_packages.sh index 798fc09a8a..a7add79b06 100755 --- a/utils/publish_all_packages.sh +++ b/utils/publish_all_packages.sh @@ -66,8 +66,8 @@ elif [[ $1 == "--tip-of-tree" ]]; then UPSTREAM_SHA=$(git ls-remote https://github.com/microsoft/playwright --tags $(git rev-parse --abbrev-ref HEAD) | cut -f1) CURRENT_SHA=$(git rev-parse HEAD) if [[ "${UPSTREAM_SHA}" != "${CURRENT_SHA}" ]]; then - echo "REFUSING TO PUBLISH: this is not tip-of-tree" - exit 1 + echo "FYI: REFUSING TO PUBLISH since this is not tip-of-tree" + exit 0 fi NPM_PUBLISH_TAG="next" else