[bintray-client-java] 01/01: Removed the jar files and the gradle wrapper from the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jun 4 10:48:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository bintray-client-java.
commit 8637619cf71362d6e2e736eec1e4ed2a6a14c665
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jun 4 12:47:04 2015 +0200
Removed the jar files and the gradle wrapper from the upstream tarball
---
debian/orig-tar.sh | 15 +++++++++++++++
debian/watch | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..7d11b58
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+VERSION=$2
+DIR=bintray-client-java-${VERSION}
+TAR=../bintray-client-java_${VERSION}.orig.tar.xz
+
+tar -xf $3
+rm $3
+XZ_OPT=--best tar -c -v -J -f $TAR \
+ --exclude 'gradlew*' \
+ --exclude 'gradle/wrapper' \
+ --exclude '*.jar' \
+ $DIR
+rm -Rf $DIR
diff --git a/debian/watch b/debian/watch
index 70c0b71..e853901 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-https://github.com/bintray/bintray-client-java/tags .*/([\d\.]+).tar.gz
+https://github.com/bintray/bintray-client-java/tags .*/([\d\.]+).tar.gz debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/bintray-client-java.git
More information about the pkg-java-commits
mailing list