watch: added "repacksuffix=+ds1".

This commit is contained in:
Dmitry Smirnov 2021-02-22 15:24:32 +11:00
parent 8ea1af2fc7
commit 938ef19b16

12
debian/watch vendored
View file

@ -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@$