Skip to content

Commit

Permalink
Merge pull request gwtbootstrap3#433 from sjardine/master
Browse files Browse the repository at this point in the history
Fixed war file check for update snapshot demo site.
  • Loading branch information
sjardine committed Oct 28, 2015
2 parents 3c75cc1 + 14add1e commit 7198c4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .utility/update_site_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -ev
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then

if [[ -z "$GH_TOKEN" ]]; then
if [ -z "$GH_TOKEN" ]; then
echo -e "GH_TOKEN is not set"
exit 1
fi
Expand All @@ -20,7 +20,7 @@ cd demo
mvn clean package || { echo -e "gwtbootstrap3-demo build failed" ; exit 1; }

# check to make sure the demo war file is present.
if ![[ -f $HOME/demo/target/gwtbootstrap3-demo-*.war ]]; then
if [ ! -f $HOME/demo/target/gwtbootstrap3-demo-*.war ]; then
echo -e "gwtbootstrap3-demo war file not found."
exit 1
fi
Expand Down

0 comments on commit 7198c4d

Please sign in to comment.