Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (9 sloc) 363 Bytes
#!/bin/bash
if [ -n "$TRAVIS_TAG" ]; then
mvn -s .travis.maven.settings.xml -DskipTests clean deploy
VERSION=${TRAVIS_TAG//[^0-9.]/}
cp target/preston-${VERSION}-jar-with-dependencies.jar target/preston_no_head.jar
cat .travis.jar.magic target/preston_no_head.jar > target/preston.jar
mvn jdeb:jdeb
mv target/jib-image.tar target/preston.image.tar
fi