summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1a33e79
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=4
+
+opts=\
+ downloadurlmangle=s|/releases/tag/(Pacemaker-@ANY_VERSION@)$|/archive/refs/tags/$1.tar.gz|,\
+ filenamemangle=s|.*/Pacemaker-@ANY_VERSION@|@PACKAGE@-$1.tar.gz|,\
+ uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+ https://github.com/ClusterLabs/pacemaker/releases/ /ClusterLabs/@PACKAGE@/releases/tag/Pacemaker-(.*)