File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
55if [ -z " $SONATYPE_USERNAME " ]
66then
7- echo " error : please set SONATYPE_USERNAME and SONATYPE_PASSWORD environment variable"
7+ echo " Error : please set SONATYPE_USERNAME and SONATYPE_PASSWORD environment variable"
88 exit 1
99fi
1010
1111if [ -z " $SONATYPE_PASSWORD " ]
1212then
13- echo " error : please set SONATYPE_PASSWORD environment variable"
13+ echo " Error : please set SONATYPE_PASSWORD environment variable"
1414 exit 1
1515fi
1616
1717if [ ! -z " $TRAVIS_TAG " ]
1818then
19- echo " on a tag -> set pom.xml <version> to $TRAVIS_TAG "
19+ echo " On a tag -> set pom.xml <version> to $TRAVIS_TAG "
2020 mvn --settings .travis/settings.xml org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=$TRAVIS_TAG 1> /dev/null 2> /dev/null
2121else
22- echo " not on a tag -> keep snapshot version in pom.xml"
22+ echo " Not on a tag -> keep snapshot version in pom.xml"
2323fi
2424
2525mvn clean deploy --settings .travis/settings.xml -DskipTests=true -B -U -P release
You can’t perform that action at this time.
0 commit comments