Skip to content

Instantly share code, notes, and snippets.

@eyedol
Created March 13, 2012 14:07
Show Gist options
  • Save eyedol/2028980 to your computer and use it in GitHub Desktop.
Save eyedol/2028980 to your computer and use it in GitHub Desktop.
#!/bin/bash
# To check tags, run this in the browser
# https://api.github.com/repos/ushahidi/Ushahidi_Web/tags
CURRENT_TAG='2.2b1'
PREVIOUS_TAG='2.1-stable'
# You can get this from the sql/ushahidi.sql script
CURRENT_VERSION='2.2'
PREVIOUS_VERSION='2.1'
git diff $CURRENT_TAG $PREVIOUS_TAG --name-only | zip -r ~/ushahidi_${CURRENT_VERSION}_${PREVIOUS_VERSION}.zip -@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment