devops: do not fail check when refusing to publish TOT revision (#3443)
This commit is contained in:
parent
84ca0120f8
commit
4f05039944
|
|
@ -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)
|
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)
|
CURRENT_SHA=$(git rev-parse HEAD)
|
||||||
if [[ "${UPSTREAM_SHA}" != "${CURRENT_SHA}" ]]; then
|
if [[ "${UPSTREAM_SHA}" != "${CURRENT_SHA}" ]]; then
|
||||||
echo "REFUSING TO PUBLISH: this is not tip-of-tree"
|
echo "FYI: REFUSING TO PUBLISH since this is not tip-of-tree"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
NPM_PUBLISH_TAG="next"
|
NPM_PUBLISH_TAG="next"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue