mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix build scripts
This commit is contained in:
parent
4e30f87084
commit
bfcd92da7e
@ -3,7 +3,8 @@ set -e
|
|||||||
set +x
|
set +x
|
||||||
|
|
||||||
trap "cd $(pwd -P)" EXIT
|
trap "cd $(pwd -P)" EXIT
|
||||||
cd checkout
|
cd "$(dirname $0)"
|
||||||
|
cd "checkout"
|
||||||
|
|
||||||
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "pwdev" ]]; then
|
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "pwdev" ]]; then
|
||||||
echo "ERROR: Cannot build any branch other than PWDEV"
|
echo "ERROR: Cannot build any branch other than PWDEV"
|
||||||
|
@ -3,7 +3,8 @@ set -e
|
|||||||
set +x
|
set +x
|
||||||
|
|
||||||
trap "cd $(pwd -P)" EXIT
|
trap "cd $(pwd -P)" EXIT
|
||||||
cd checkout
|
cd "$(dirname $0)"
|
||||||
|
cd "checkout"
|
||||||
|
|
||||||
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "pwdev" ]]; then
|
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "pwdev" ]]; then
|
||||||
echo "ERROR: Cannot build any branch other than PWDEV"
|
echo "ERROR: Cannot build any branch other than PWDEV"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user