Set up goals to verify 2.0 builds work with related stables releases and snapshots, but will also work with 2.1.
7 lines
208 B
Bash
Executable File
7 lines
208 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
if [ "${CIRCLE_BRANCH}" == "master" ] || [ "${CIRCLE_BRANCH}" == "2.0.x" ]; then
|
|
mvn -Pdistribute,snapshot,docs clean deploy
|
|
else
|
|
echo "We only deploy 'master' branch and '2.0.x' branch."
|
|
fi |