mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-22 15:13:41 -06:00
actions testing
This commit is contained in:
parent
0864517944
commit
6a21326691
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user