From fec98e0d03341074332f2b66e154f16f77da4705 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Fri, 21 Aug 2015 11:12:47 +0200 Subject: [PATCH] travis-ci: grab actual used upstream version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 88c5dd6..8a6d97c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ before_install: # installneeded packages for uscan - sudo apt-get install -qq --no-install-recommends devscripts libwww-perl # download original tarball - - uscan --force-download + - UVERSION=$(dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d'-' -f1); uscan --verbose --download-version ${UVERSION} --force-download # remove packages needed for uscan - sudo apt-get purge -qq libwww-perl - sudo apt-get autoremove -qq