summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2023-09-19 11:33:50 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2023-09-19 11:33:50 -0400
commitd26e0034ed79dd474368bbbecaa68fc830bbd1be (patch)
treea7b2b3dc7319a770c5f93a76a865ee4bed1d3649
parentb08dd1f0690129fe949ed7fe2cae25d082150f9e (diff)
Update debian/watch to use GitHub tags, not releases
The GitHub release page now requires JavaScript, so switch to looking for tags. Also correct release candidate handling.
-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@