Permalink
Browse files

Create-release.sh script working

  • Loading branch information...
1 parent 22245fb commit e8993f48e07289f9b568c6af0185b8103146f785 @ymettier ymettier committed Oct 29, 2012
Showing with 9 additions and 2 deletions.
  1. +9 −2 scripts/create-release.sh
View
@@ -1,8 +1,15 @@
#! /bin/bash
-
#
# vim: expandtab sw=4 ts=4 sts=4:
#
+# ABOUT THIS SCRIPT
+# Some code from the create-release.sh script from phpmyadmin. Thanks.
+#
+# Run it from the root directory (the directory containing the .git/ directory)
+# Example :
+# ./scripts/create-release.sh 1.0.1 release/1.0.1
+# ./scripts/create-release.sh 20121029 master
+#
DEFAULT_VERSION=git
COMPRESSIONS="tgz tbz"
@@ -61,7 +68,7 @@ git checkout $branch
# Removing unneeded files
rm -rf .git
-find . -name .gitignore -print0 | wargs -0 -r rm -f
+find . -name .gitignore -print0 | xargs -0 -r rm -f
cd ..
name=perfwatcher-${VERSION}

0 comments on commit e8993f4

Please sign in to comment.