Created
January 14, 2015 12:29
-
-
Save thraxil/cdf86e6efee0fa10afc3 to your computer and use it in GitHub Desktop.
update all the apps
This file contains hidden or 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 | |
declare -a apps=("capsim" "carr" "ccdb" "countryx" "diabeaters" "dmt" "forest" "mediamachine" "mvsim" "nynjaetc" "plexus" "pump" "rolf" "smart_sa" "smilekit" "ssnm" "tala" "uelc" "wacep" "wardenclyffe" "worth2") | |
for app in "${apps[@]}" | |
do | |
echo "============== $app ===============" | |
cd $app | |
git checkout master | |
git pull | |
git checkout -b django-1.7.3 | |
# there were some 1.7.1 stragglers | |
perl -pi -e 's/Django==1.7.1/Django==1.7.3/' requirements.txt | |
perl -pi -e 's/Django==1.7.2/Django==1.7.3/' requirements.txt | |
make && git commit -a -m ":lock: :arrow_up: Django -> 1.7.3" && git push origin django-1.7.3 | |
git checkout master | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment