Skip to content

Instantly share code, notes, and snippets.

View celesteburke's full-sized avatar

Celeste Burke celesteburke

View GitHub Profile
@celesteburke
celesteburke / grab_version.sh
Created June 8, 2011 19:12
Bash script that grabs a git tag and applies stashed changes (for android development). Helpful when bouncing between multiple versions and testing.
#!/bin/bash
VERSION=$1
echo "Using version " $VERSION
echo "\nStashing changes.."
git stash
echo "\nChecking out new version.."
git checkout $VERSION
@celesteburke
celesteburke / install_build.sh
Created June 8, 2011 19:06
Bash script that uninstalls/installs builds to android devices
#!/bin/bash
FILE=$1
PACKAGE=$2
if [ $FILE ]
then
if [ ! -f $FILE ]
then
FILE=./bin/*.apk