]> git.proxmox.com Git - systemd.git/commitdiff
d/watch: add version mangle to transform -rc to ~rc
authorFelipe Sateler <fsateler@debian.org>
Mon, 28 Jan 2019 13:23:52 +0000 (10:23 -0300)
committerFelipe Sateler <fsateler@debian.org>
Mon, 28 Jan 2019 13:24:39 +0000 (10:24 -0300)
Upstream has started releasing rcs, so let's account for that

debian/watch

index 4dd34402f61fde50a3d33cb726fb9797664f4e55..a1403d861803acc63660371145e17a47e08811ac 100644 (file)
@@ -1,3 +1,3 @@
 version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/systemd-$1\.tar\.gz/ \
+opts=uversionmangle=s/-rc/~rc/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/systemd-$1\.tar\.gz/ \
   https://github.com/systemd/systemd/tags .*/v?(\d\S*)\.tar\.gz