summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index e621a589..fc9d681d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -13,6 +13,6 @@
# the License.
version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%, uversionmangle=s/^/0~/" \
- https://github.com/abseil/abseil-cpp/releases \
- (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+opts="filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2%, uversionmangle=s/(\d)[-+_.]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/" \
+ https://github.com/abseil/abseil-cpp/tags \
+ (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@