summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:23:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:23:11 +0000
commit26de5ed8d24188f544a9bc27cb7d86b641bceddf (patch)
tree7fbf5e1edc1e6b0fca9bda79edfe97168485ee26 /debian/watch
parentAdding upstream version 1:4.6.1. (diff)
downloadsquashfs-tools-26de5ed8d24188f544a9bc27cb7d86b641bceddf.tar.xz
squashfs-tools-26de5ed8d24188f544a9bc27cb7d86b641bceddf.zip
Adding debian version 1:4.6.1-1.debian/1%4.6.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..90d2fd8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=uversionmangle=s/^(SNAPSHOT|RELEASE)\.//;s/(\d+)[_-](\d+)[_-](\d+)/\$1.\$2.\$3/;s/(\d+)[_-](\d+)/\$1.\$2/;s/(\d)[_\.\-\+]?((rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/;s/(\d)[_\.\-\+]?RC[\-\.]?(\d*)$/$1~rc$2/,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//i \
+https://github.com/plougher/squashfs-tools/tags .*/[vV]?(\d\S*)@ARCHIVE_EXT@