Skip to content

Commit 9aec5f9

Browse files
committed
Build demo 2.0-rc7.
1 parent ee1091b commit 9aec5f9

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ cache:
77
- $HOME/.m2
88
before_install:
99
# install the gwt-material library before we build the demo
10-
- git clone -b release_2.0 https://github.com/GwtMaterialDesign/gwt-material.git
10+
- git clone -b master https://github.com/GwtMaterialDesign/gwt-material.git
1111
- cd gwt-material
1212
- mvn install -DskipTests=true -DdryRun=true
1313
- cd ..
1414
# install the gwt-material-themes library
15-
- git clone -b release_2.0 https://github.com/GwtMaterialDesign/gwt-material-themes.git
15+
- git clone -b master https://github.com/GwtMaterialDesign/gwt-material-themes.git
1616
- cd gwt-material-themes
1717
- mvn install -DskipTests=true -DdryRun=true
1818
- cd ..
1919
# install the gwt-material-addins library
20-
- git clone -b release_2.0 https://github.com/GwtMaterialDesign/gwt-material-addins.git
20+
- git clone -b master https://github.com/GwtMaterialDesign/gwt-material-addins.git
2121
- cd gwt-material-addins
2222
- mvn install -DskipTests=true -DdryRun=true
2323
- cd ..
2424
# install the gwt-material-table library before we build the demo
25-
- git clone -b release_2.0 https://github.com/GwtMaterialDesign/gwt-material-table.git
25+
- git clone -b master https://github.com/GwtMaterialDesign/gwt-material-table.git
2626
- cd gwt-material-table
2727
- mvn install -DskipTests=true -DdryRun=true
2828
- cd ..

.utility/update_demo_site.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -ev
3-
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.0" ]; then
3+
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
44

55
if [[ -z "$GH_TOKEN" ]]; then
66
echo -e "GH_TOKEN is not set"
@@ -24,23 +24,23 @@ git clone --quiet --branch=gh-pages https://[email protected]/GwtMaterialDesi
2424
cd gh-pages
2525

2626
# remove the GwtMaterialDemo directories from git.
27-
if [[ -d ./snapshot/gwtmaterialdemo ]]; then
28-
git rm -rf ./snapshot/gwtmaterialdemo
27+
if [[ -d ./gwtmaterialdemo ]]; then
28+
git rm -rf ./gwtmaterialdemo
2929
fi
30-
if [[ -f ./snapshot/index.html ]]; then
31-
git rm -rf ./snapshot/index.html
30+
if [[ -f ./index.html ]]; then
31+
git rm -rf ./index.html
3232
fi
33-
if [[ -d ./snapshot/META-INF ]]; then
34-
git rm -rf ./snapshot/META-INF
33+
if [[ -d ./META-INF ]]; then
34+
git rm -rf ./META-INF
3535
fi
36-
if [[ -d ./snapshot/snapshot/WEB-INF ]]; then
37-
git rm -rf ./snapshot/snapshot/WEB-INF
36+
if [[ -d ./snapshot/WEB-INF ]]; then
37+
git rm -rf ./snapshot/WEB-INF
3838
fi
3939

4040
# copy the new GwtMaterialDemo the snapshot dir.
41-
unzip -u $TRAVIS_BUILD_DIR/target/gwt-material-demo-*.war -d ./snapshot/
42-
rm -rf ./snapshot/META-INF
43-
rm -rf ./snapshot/WEB-INF
41+
unzip -u $TRAVIS_BUILD_DIR/target/gwt-material-demo-*.war -d ./
42+
rm -rf ./META-INF
43+
rm -rf ./WEB-INF
4444

4545
git add -f .
4646
git commit -m "Auto-push demo to gh-pages successful. (Travis build: $TRAVIS_BUILD_NUMBER)"

0 commit comments

Comments
 (0)