Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switch from SVN to Git

  • Loading branch information...
commit b0573ff9725a0eaaf366604604757d742ecb7b57 1 parent f1af488
@liyanage authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 create-distribution.sh
View
7 create-distribution.sh
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.