Skip to content

Instantly share code, notes, and snippets.

@thraxil
Created January 14, 2015 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thraxil/cdf86e6efee0fa10afc3 to your computer and use it in GitHub Desktop.
Save thraxil/cdf86e6efee0fa10afc3 to your computer and use it in GitHub Desktop.
update all the apps
#!/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