[Pkg-javascript-commits] [jquery] 10/18: debian/release-check: reuse debian/tests/check-against-upstream-build
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Apr 9 13:59:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch debian/1.x
in repository jquery.
commit f3c5ed4de93b00f3a3903a32ac4550693a3efb92
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Apr 8 19:12:40 2016 -0300
debian/release-check: reuse debian/tests/check-against-upstream-build
---
debian/release-check | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/debian/release-check b/debian/release-check
index 920069c..5649e86 100755
--- a/debian/release-check
+++ b/debian/release-check
@@ -2,19 +2,9 @@
set -e
-
-cachedir=$HOME/.cache/jquery-debian
-mkdir -p $cachedir
-version=$(dpkg-parsechangelog -SVersion | cut -d + -f 1)
-if [ ! -f $cachedir/jquery-${version}.js ]; then
- wget --directory-prefix=$cachedir http://code.jquery.com/jquery-${version}.js
-fi
-
./debian/rules dist/jquery.js
rc=0
-diff --ignore-blank-line \
- --ignore-matching-lines=Date:.*Z \
- -u $cachedir/jquery-${version}.js dist/jquery.js || rc=$?
+./debian/tests/check-against-upstream-build dist/jquery.js || rc=$?
./debian/rules clean
if [ "$rc" -ne 0 ]; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery.git
More information about the Pkg-javascript-commits
mailing list