projects
/
siridb-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ccee66
)
watch: update to use github API
author
Paul Gevers
<elbrus@debian.org>
Sat, 28 Oct 2023 20:58:30 +0000
(22:58 +0200)
committer
Paul Gevers
<elbrus@debian.org>
Sat, 28 Oct 2023 20:58:30 +0000
(22:58 +0200)
debian/watch
patch
|
blob
|
history
diff --git
a/debian/watch
b/debian/watch
index 13aca387a0dc40d34d398a15b65b6a71a4ed8dc3..a461d8c407b24f1594dba2eb79abe2124f885860 100644
(file)
--- a/
debian/watch
+++ b/
debian/watch
@@
-1,4
+1,5
@@
version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%siridb-server-$1.tar.gz%" \
- https://github.com/SiriDB/siridb-server/releases \
- (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+ opts="searchmode=plain,\
+ filenamemangle=s%v?@ANY_VERSION@%@PACKAGE@-$1.tar.xz%" \
+ https://api.github.com/repos/SiriDB/siridb-server/releases?per_page=50 \
+ https://api.github.com/repos/[^/]+/[^/]+/tarball/v?@ANY_VERSION@