debian-mirror-gitlab/debian/watch
2017-08-17 21:58:55 +05:30

8 lines
349 B
Text

version=3
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 .*/repository/v(.*)/archive.tar.gz