devops: teach {firefox,webkit}/build.sh to build current branch
The check for the proper branch has moved to `checkout_build_archive_upload.sh` script.
This commit is contained in:
Родитель
b6e518399c
Коммит
cb92cd0d5c
|
@ -63,6 +63,13 @@ fi
|
|||
echo "-- preparing checkout"
|
||||
./prepare_checkout.sh $BROWSER_NAME
|
||||
|
||||
cd ./$BROWSER_NAME/checkout
|
||||
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "playwright-build" ]]; then
|
||||
echo "ERROR: Default branch is not playwright-build!"
|
||||
exit 1
|
||||
fi
|
||||
cd -
|
||||
|
||||
echo "-- cleaning"
|
||||
./$BROWSER_NAME/clean.sh
|
||||
|
||||
|
|
|
@ -6,15 +6,6 @@ trap "cd $(pwd -P)" EXIT
|
|||
cd "$(dirname $0)"
|
||||
cd "checkout"
|
||||
|
||||
BUILD_BRANCH="playwright-build"
|
||||
|
||||
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "$BUILD_BRANCH" ]]; then
|
||||
echo "ERROR: Cannot build any branch other than $BUILD_BRANCH"
|
||||
exit 1;
|
||||
else
|
||||
echo "-- checking git branch is $BUILD_BRANCH - OK"
|
||||
fi
|
||||
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
# Firefox currently does not build on 10.15 out of the box - it requires SDK for 10.14.
|
||||
# Make sure the SDK is out there.
|
||||
|
|
|
@ -6,15 +6,6 @@ trap "cd $(pwd -P)" EXIT
|
|||
cd "$(dirname $0)"
|
||||
cd "checkout"
|
||||
|
||||
BUILD_BRANCH="playwright-build"
|
||||
|
||||
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "$BUILD_BRANCH" ]]; then
|
||||
echo "ERROR: Cannot build any branch other than $BUILD_BRANCH"
|
||||
exit 1;
|
||||
else
|
||||
echo "-- checking git branch is $BUILD_BRANCH - OK"
|
||||
fi
|
||||
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
./Tools/Scripts/build-webkit --release
|
||||
elif [[ "$(uname)" == "Linux" ]]; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче