diff options
author | Balint Reczey <balint@balintreczey.hu> | 2014-06-18 12:07:20 -0700 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2014-06-19 07:30:54 +0000 |
commit | 701b6ad5bce3da8fb8d93608f3a17c2959577970 (patch) | |
tree | 44ba7235fa43b6fe8a5964fb54df83a36848293a | |
parent | 32f4beecfaee6af09c08e46123abc257b20813e4 (diff) | |
download | wireshark-701b6ad5bce3da8fb8d93608f3a17c2959577970.tar.gz |
Generate xz compressed archives instead of .bz2-s
Change-Id: Iad47516ae617f5ecac5b03f2d7e800208c499d4a
Reviewed-on: https://code.wireshark.org/review/2403
Reviewed-by: Gerald Combs <gerald@wireshark.org>
(cherry picked from commit 5a6366c9b56990eb7f4af17bf628ad80fc354ece)
Reviewed-on: https://code.wireshark.org/review/2426
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Tested-by: Balint Reczey <balint@balintreczey.hu>
-rwxr-xr-x | tools/git-export-release.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/git-export-release.sh b/tools/git-export-release.sh index 9e3aefe037..729c4703eb 100755 --- a/tools/git-export-release.sh +++ b/tools/git-export-release.sh @@ -22,12 +22,15 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# first paremeter if set is a git commit, like v1.12.0-rc1 or 54819e5699f -# by default HEAD is used +# First paremeter, if set, is a git commit, like v1.12.0-rc1 or 54819e5699f +# By default HEAD is used. +# Note, that filtering takes place base on the _exported_ version's +# .gitattributes files thus archives generated from older commits will contain +# the whole tree. COMMIT="HEAD" if test -n "$1"; then COMMIT="$1" fi VERSION=$(git describe --tags ${COMMIT} | sed 's/^v//') -git archive --prefix=wireshark-${VERSION}/ ${COMMIT} | bzip2 > wireshark-${VERSION}.tar.bz2 +git archive --prefix=wireshark-${VERSION}/ ${COMMIT} | xz > wireshark-${VERSION}.tar.xz |