/[pkg-java]/trunk/maven-resources-plugin/debian/orig-tar.sh
ViewVC logotype

Contents of /trunk/maven-resources-plugin/debian/orig-tar.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14443 - (hide annotations) (download) (as text)
Wed Aug 24 11:46:51 2011 UTC (20 months, 4 weeks ago) by twerner
File MIME type: application/x-sh
File size: 499 byte(s)
* Use Maven to build the package.
* Add a documentation package.
1 twerner 7590 #!/bin/sh -e
2    
3 twerner 14443 VERSION=$2
4     TAR=../maven-resources-plugin_$VERSION.orig.tar.gz
5     DIR=maven-resources-plugin-$VERSION
6     TAG=$(echo "maven-resources-plugin-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
7 twerner 7590
8 twerner 14443 svn export http://svn.apache.org/repos/asf/maven/plugins/tags/${TAG}/ $DIR
9     GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
10 twerner 7590 rm -rf $DIR ../$TAG
11    
12     # move to directory 'tarballs'
13     if [ -r .svn/deb-layout ]; then
14     . .svn/deb-layout
15 twerner 14443 mv $TAR $origDir && echo "moved $TAR to $origDir"
16 twerner 7590 fi

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5