From: Michael Tremer Date: Sun, 30 Mar 2008 00:21:34 +0000 (+0100) Subject: Added ./make.sh git export which generates a gzipped tarball. X-Git-Tag: v3.0-alpha1~1054^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4cff7fc083ebf6bcc0ac0599432ad1ec01e03da;p=ipfire-3.x.git Added ./make.sh git export which generates a gzipped tarball. --- diff --git a/tools/make-git b/tools/make-git index 156f7018c..60b477632 100644 --- a/tools/make-git +++ b/tools/make-git @@ -90,3 +90,7 @@ git_log() { beautify message DONE } + +git_export() { + git archive HEAD | gzip -9 > ${SNAME}-${VERSION}.tar.gz +} diff --git a/tools/make-interactive b/tools/make-interactive index b3352ae7b..fcee343f8 100644 --- a/tools/make-interactive +++ b/tools/make-interactive @@ -196,6 +196,9 @@ git) clear git_commit $* ;; + dist|export|archive) + git_export + ;; push) git_push ;;