preview build testing

This commit is contained in:
Jonathan Shook 2023-01-25 19:03:20 -06:00
parent 32486b3d64
commit 0864517944

View File

@ -17,15 +17,14 @@
set -e
export branch=$(git status --branch --porcelain | cut -d' ' -f2)
if [[ $branch =~ main ]]
then
printf "On branch main, continuing\n" 1>&2
else
printf "Not branch main, bailing out\n" 1>&2
exit 2
fi
#export branch=$(git status --branch --porcelain | cut -d' ' -f2)
#if [[ $branch =~ main ]]
#then
# printf "On branch main, continuing\n" 1>&2
#else
# printf "Not branch main, bailing out\n" 1>&2
# exit 2
#fi
export REVISION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)