Files
jpexs-decompiler/travis/script.sh
2016-09-20 21:47:37 +02:00

11 lines
416 B
Bash

#!/bin/bash
# If we've got website password, we can upload nightly builds.
# Travis secure variable $website_password is not available from outside
# of jpexs repository (e.g pull requests from other users on GitHub)
if [ -z ${website_password+x} ]; then
# password not set, just make private release without publishing result
ant all
else
# create nightly build
ant new-version-nightlybuild
fi