From 4ae3a07a754c6d790ab30cd37d92955df61f71f8 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 11 Oct 2021 17:13:21 +0200 Subject: [PATCH] devops: allow dirty tree when publishing ToT release --- utils/publish_all_packages.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/utils/publish_all_packages.sh b/utils/publish_all_packages.sh index 902bfbee3e..412c2dfb18 100755 --- a/utils/publish_all_packages.sh +++ b/utils/publish_all_packages.sh @@ -57,10 +57,6 @@ if [[ $1 == "--release" ]]; then fi NPM_PUBLISH_TAG="latest" elif [[ $1 == "--tip-of-tree" ]]; then - if [[ $(git status -s) != " M package.json" ]]; then - echo "ERROR: git status is unexpected; some uncommitted changes or untracked files" - exit 1 - fi # Ensure package version contains dash. if [[ "${VERSION}" != *-* ]]; then echo "ERROR: cannot publish release version with --tip-of-tree flag"