Skip to content

Instantly share code, notes, and snippets.

@alex-endfinger
Created July 11, 2011 16:04
Show Gist options
  • Save alex-endfinger/1076183 to your computer and use it in GitHub Desktop.
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
#!/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