Permalink
Browse files

Switch from SVN to Git

  • Loading branch information...
1 parent f1af488 commit b0573ff9725a0eaaf366604604757d742ecb7b57 @liyanage committed Aug 31, 2009
Showing with 3 additions and 4 deletions.
  1. +3 −4 create-distribution.sh
View
@@ -2,12 +2,11 @@
set -e
-#[[ $(svnversion) =~ M ]] && { echo working copy modified, please check in changes; exit ; }
-
VERSION=$(defaults read "$PWD/Info" CFBundleVersion)
-NAME=$(basename "$PWD")
+NAME="PHZH Printing.wdgt"
rm -rf "$NAME" phzh-printing-widget-*.zip
-svn export https://svn.futurelab.ch/repos/futurelab/projects/phzh/PHZH%20Printing.wdgt
+mkdir "$NAME"
+tar --exclude .git --exclude "$NAME" -cv - . | (cd "$NAME"; tar -xf -)
zip -r phzh-printing-widget-$VERSION.zip "$NAME"
rm -rf "$NAME"

0 comments on commit b0573ff

Please sign in to comment.