SWS-998 - Backport Maven/Asciidoctor migration to 2.x
This commit is contained in:
7
deploy.bash
Executable file
7
deploy.bash
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
if [ "${CIRCLE_BRANCH}" == "master" ] || [ "${CIRCLE_BRANCH}" == "2.x" ]; then
|
||||
./mvnw -Pdistribute,snapshot,docs clean -Dmaven.test.skip=true deploy
|
||||
else
|
||||
echo "We only deploy 'master' and '2.x' branches"
|
||||
fi
|
||||
Reference in New Issue
Block a user