Establish 2.0.x branch

Set up goals to verify 2.0 builds work with related stables releases and snapshots, but will also work with 2.1.
This commit is contained in:
Greg Turnquist
2018-08-03 12:03:27 -05:00
parent a2bfa4d39d
commit 6e25cfd0ac
3 changed files with 4 additions and 49 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash -x
if [ "${CIRCLE_BRANCH}" == "master" ]; then
if [ "${CIRCLE_BRANCH}" == "master" ] || [ "${CIRCLE_BRANCH}" == "2.0.x" ]; then
mvn -Pdistribute,snapshot,docs clean deploy
else
echo "We only deploy 'master' branch"
echo "We only deploy 'master' branch and '2.0.x' branch."
fi