Codebase list maven-verifier / 052ae69
Use XZ compression for the upstream tarball Emmanuel Bourg 6 years ago
2 changed file(s) with 3 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
77 * debian/copyright: Updated to the Copyright Format 1.0
88 * Moved the package to Git
99 * Switch to debhelper level 10
10 * Use XZ compression for the upstream tarball
1011
1112 -- Emmanuel Bourg <ebourg@apache.org> Thu, 24 Oct 2013 17:36:31 +0200
1213
00 #!/bin/sh -e
11
22 VERSION=$2
3 TAR=../maven-verifier_$VERSION.orig.tar.gz
3 TAR=../maven-verifier_$VERSION.orig.tar.xz
44 DIR=maven-verifier-$VERSION
55 TAG=$(echo "maven-verifier-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
66
77 svn export http://svn.apache.org/repos/asf/maven/shared/tags/${TAG} $DIR
8 GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
8 XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
99 rm -rf $DIR ../$TAG
10
11 # move to directory 'tarballs'
12 if [ -r .svn/deb-layout ]; then
13 . .svn/deb-layout
14 mv $TAR $origDir && echo "moved $TAR to $origDir"
15 fi