actions testing

This commit is contained in:
Jonathan Shook 2023-01-25 19:50:14 -06:00
parent 0864517944
commit 6a21326691
2 changed files with 0 additions and 20 deletions

View File

@ -17,16 +17,6 @@
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 REVISION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)
if [[ $REVISION =~ ([0-9]+)\.([0-9]+)\.([0-9]+)-SNAPSHOT ]]
then

View File

@ -17,16 +17,6 @@
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 REVISION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)
if [[ $REVISION =~ ^([0-9]+)\.([0-9]+)\.([0-9]+)-SNAPSHOT$ ]]
then