From 938ef19b16fbf61cd72694cec821de5b9bc0a67c Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Mon, 22 Feb 2021 15:24:32 +1100 Subject: [PATCH] watch: added "repacksuffix=+ds1". --- debian/watch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/debian/watch b/debian/watch index a81da0a5f5..abfbeb4db3 100644 --- a/debian/watch +++ b/debian/watch @@ -1,12 +1,16 @@ version=4 + +# uscan: repacksuffix is not compatible with the multiple upstream tarballs; use oversionmangle. + opts="uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,\ +repack,compression=xz,oversionmangle=s{\Z}{+ds1},\ dversionmangle=s/(\d)[\+]?(debian|dfsg|ds|deb|gh)\d*(\~)*(rc)*(\d)*$/$1$3$4$5/ \ " https://gitlab.com/gitlab-org/gitlab-foss/-/tags .*/gitlab-foss-v(\d[\d.]*)\.tar\.gz -opts="pgpmode=none,component=elasticsearch-rails,dversionmangle=s{[\d\.]+}{6.1.0}" \ - https://github.com/elastic/elasticsearch-rails/releases \ +opts="pgpmode=none,component=elasticsearch-rails,dversionmangle=s{[\d\.]+(\+ds\d*)?}{6.1.0},\ +" https://github.com/elastic/elasticsearch-rails/releases \ .*/archive/v?(\d[\d\.]+)@ARCHIVE_EXT@$ -opts="pgpmode=none,component=snowplow-javascript-tracker,dversionmangle=s{[\d\.]+}{2.10.0}" \ - https://github.com/snowplow/snowplow-javascript-tracker/tags?after=2.11.0-rc3 \ +opts="pgpmode=none,component=snowplow-javascript-tracker,dversionmangle=s{[\d\.]+(\+ds\d*)?}{2.10.0},\ +" https://github.com/snowplow/snowplow-javascript-tracker/tags?after=2.11.0-rc3 \ .*/archive/v?(\d[\d\.]+)@ARCHIVE_EXT@$