We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c78a8 commit 511883dCopy full SHA for 511883d
utils/publish_all_packages.sh
@@ -54,7 +54,7 @@ elif [[ $1 == "--tip-of-tree" ]]; then
54
fi
55
56
# Ensure this is actually tip-of-tree.
57
- UPSTREAM_SHA=$(git ls-remote https://github.com/microsoft/playwright --tags master | cut -f1)
+ UPSTREAM_SHA=$(git ls-remote https://github.com/microsoft/playwright --tags $(git rev-parse --abbrev-ref HEAD) | cut -f1)
58
CURRENT_SHA=$(git rev-parse HEAD)
59
if [[ "${UPSTREAM_SHA}" != "${CURRENT_SHA}" ]]; then
60
echo "REFUSING TO PUBLISH: this is not tip-of-tree"
0 commit comments