make sure the script is executed in the right place

This commit is contained in:
Tommy Verrall
2023-02-23 12:29:42 +02:00
parent 665f093bcf
commit 8927824d59
+7
View File
@@ -4,6 +4,13 @@ PWD="../"
GIT_BRANCH=$1
VERSION_NUMBER=$2
# run the script from the correct location
if [[ $(pwd) != */tests ]]; then
echo "Please run the script from the 'tests' directory."
exit 1
fi
# lets make sure the branch is up to date
# ---------------------------------------
git checkout develop