mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix wget command
This commit is contained in:
parent
c7f0749671
commit
f9a9ce38a4
|
@ -17,8 +17,9 @@ before_install:
|
||||||
- nvm install 7
|
- nvm install 7
|
||||||
- CHROMIUM_BUILD=466537
|
- CHROMIUM_BUILD=466537
|
||||||
- mkdir -p $HOME/.chromium_dist/
|
- mkdir -p $HOME/.chromium_dist/
|
||||||
- wget -nc https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F$CHROMIUM_BUILD%2Fchrome-linux.zip?alt=media -O $HOME/.chromium_dist/chromium-$CHROMIUM_BUILD.zip
|
- CHROMIUM_ZIP=$HOME/.chromium_dist/chromium-$CHROMIUM_BUILD.zip
|
||||||
- unzip -q $HOME/.chromium_dist/chromium-$CHROMIUM_BUILD.zip
|
- if [ ! -f $CHROMIUM_ZIP ]; then wget https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F$CHROMIUM_BUILD%2Fchrome-linux.zip?alt=media -O $CHROMIUM_ZIP; fi
|
||||||
|
- unzip -q $CHROMIUM_ZIP
|
||||||
- OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"`
|
- OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"`
|
||||||
- NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-dev-`printf %d $TRAVIS_BUILD_NUMBER`
|
- NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-dev-`printf %d $TRAVIS_BUILD_NUMBER`
|
||||||
- echo "Building version $NEW_VERSION"
|
- echo "Building version $NEW_VERSION"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user