debian-mirror-gitlab/debian/watch
Dmitry Smirnov 349fa4dddd watch file to version 4; get tar.bz2 instead of tar.gz;
Still, mk-origtargz doesn't like upstream tarballs...
2018-05-07 00:34:38 +10:00

8 lines
352 B
Text

version=4
opts="\
repacksuffix=+dfsg,\
repack,compression=xz,\
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,\
filenamemangle=s/.*v(.*)\/.*/gitlab-$1.tar.gz/,\
dversionmangle=s/(\d)[\+]?(debian|dfsg|ds|deb|gh)\d*(\~)*(rc)*(\d)*$/$1$3$4$5/ \
" https://gitlab.com/gitlab-org/gitlab-ce/tags .*/gitlab-ce-v(\d[\d.]*)\.tar\.bz2