diff options
author | Benjamin Barenblat <bbaren@google.com> | 2021-04-08 10:17:37 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2021-04-08 10:17:37 -0400 |
commit | 9d1b3a65dcf18b7bd8178fdb1b15e2c4fbfe3e99 (patch) | |
tree | d829161b6296eeec7fa3dd4f0242599cfb2bac53 /debian/watch | |
parent | c38aef8910d3b1e10d989f7e0f5e066fac4aabda (diff) |
Teach debian/watch about release candidates
Update the scan URL in debian/watch to avoid picking up on release
candidates.
Diffstat (limited to 'debian/watch')
-rw-r--r-- | debian/watch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch index 4337b538..61202c86 100644 --- a/debian/watch +++ b/debian/watch @@ -13,5 +13,6 @@ # the License. version=4 -opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/abseil-$1\.tar\.gz/ \ - https://github.com/abseil/abseil-cpp/releases .*/v?(\d\S+)\.tar\.gz +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ + https://github.com/abseil/abseil-cpp/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz |