[gradle-1.12] 38/211: Update watch file
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Wed Jul 1 14:17:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository gradle-1.12.
commit c8b1cf3f7ab8b61f8102e08380f415d250f841ce
Author: Miguel Landaeta <miguel at miguel.cc>
Date: Tue May 24 20:41:29 2011 -0430
Update watch file
---
debian/orig-tar.sh | 3 ++-
debian/watch | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 6255c4f..2ef154a 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -6,9 +6,10 @@ set -e
echo "version $2"
package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
version=$2
+upstream_version="$(echo $version | sed 's/~m/-milestone-/')"
tarball=$3
TAR=${package}_${version}.orig.tar.gz
-DIR=${package}-${version}
+DIR=${package}-${upstream_version}
unzip $tarball
diff --git a/debian/watch b/debian/watch
index 20e16ff..782414f 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
version=3
-http://repo.gradle.org/gradle/distributions/ \
+opts=uversionmangle=s/-milestone-([0-9])+/~m$1/ \
+http://www.gradle.org/downloads.html \
http://repo.gradle.org/gradle/distributions/gradle-([\w\.-]+)-src.zip \
debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle-1.12.git
More information about the pkg-java-commits
mailing list