Permalink
Browse files

add release script

  • Loading branch information...
1 parent 8ca1596 commit cac4e35b03d4f41a3b67f0595835436bbec2ae5a @anthonyettinger anthonyettinger committed Feb 21, 2012
Showing with 18 additions and 0 deletions.
  1. +18 −0 release.sh
View
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+if [ -z "$1" ]; then
+ echo "Please enter version number (ie: 1.0.3)";
+ exit;
+fi;
+
+date=date;
+version=$1;
+releases='./releases';
+path="jquery.tabbed-${version}";
+tgz_file="${releases}/${path}.tgz";
+release_path="${releases}/$path";
+
+mkdir $release_path;
+cp jquery.tabbed.* $release_path;
+cp -Rfp img $release_path;
+tar czf $tgz_file -C $releases $path

0 comments on commit cac4e35

Please sign in to comment.