Skip to content

Commit

Permalink
devops: do not fail check when refusing to publish TOT revision (#3443)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov authored Aug 13, 2020
1 parent 84ca012 commit 4f05039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/publish_all_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f05039

Please sign in to comment.