devops: fix build scripts
This commit is contained in:
parent
4e30f87084
commit
bfcd92da7e
|
@ -3,7 +3,8 @@ set -e
|
|||
set +x
|
||||
|
||||
trap "cd $(pwd -P)" EXIT
|
||||
cd checkout
|
||||
cd "$(dirname $0)"
|
||||
cd "checkout"
|
||||
|
||||
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "pwdev" ]]; then
|
||||
echo "ERROR: Cannot build any branch other than PWDEV"
|
||||
|
|
|
@ -3,7 +3,8 @@ set -e
|
|||
set +x
|
||||
|
||||
trap "cd $(pwd -P)" EXIT
|
||||
cd checkout
|
||||
cd "$(dirname $0)"
|
||||
cd "checkout"
|
||||
|
||||
if ! [[ $(git rev-parse --abbrev-ref HEAD) == "pwdev" ]]; then
|
||||
echo "ERROR: Cannot build any branch other than PWDEV"
|
||||
|
|
Loading…
Reference in New Issue