Created
July 11, 2011 16:04
-
-
Save alex-endfinger/1076183 to your computer and use it in GitHub Desktop.
Script To Pull Latest Chromium Build And Host To Chromium Build Backup Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl http://commondatastorage.googleapis.com/chromium-browser-continuous/Win/LAST_CHANGE >>~/change.txt | |
export REV=$(cat ~/change.txt) | |
export CHROMIUMURL=http://commondatastorage.googleapis.com/chromium-browser-continuous/Win/$REV/mini_installer.exe | |
mkdir /var/www/chromium/$REV | |
wget $CHROMIUMURL -O /var/www/chromium/build/$REV/mini_installer.exe | |
rm ~/change.txt | |
echo Revision $REV Has Been Successfully Uploaded To Chromium Build Server Backup >>~/chromiumpull/log.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment