Skip to content

Instantly share code, notes, and snippets.

@rodrigodealer
Created October 27, 2010 12:02
Show Gist options
  • Save rodrigodealer/648903 to your computer and use it in GitHub Desktop.
Save rodrigodealer/648903 to your computer and use it in GitHub Desktop.
Version setup
#!/bin/bash
sed "s/\(.*\)version=\(.*\)/\version=$1/g" build.properties > build.properties.new
mv build.properties.new build.properties
git commit -a -m "Version tag: $1"
git tag "$1"
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment