debian-mirror-gitlab/debian/watch
2021-02-22 15:24:32 +11:00

16 lines
832 B
Text

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\.]+(\+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\.]+(\+ds\d*)?}{2.10.0},\
" https://github.com/snowplow/snowplow-javascript-tracker/tags?after=2.11.0-rc3 \
.*/archive/v?(\d[\d\.]+)@ARCHIVE_EXT@$