File: watch

package info (click to toggle)
duplicity 3.0.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,620 kB
  • sloc: python: 25,580; sh: 976; ansic: 392; makefile: 83
file content (13 lines) | stat: -rw-r--r-- 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
version=4

# Use ([0-9][0-9.]*) instead of @ANY_VERSION@ to skip *.dev* tags,
# like 3.0.6.dev5, which confuse debian's version sorting algorithm
# because 3.0.6.dev5 > 3.0.6, and even 3.0.6.dev5 > 3.0.6.1, which is
# not upstream's intent.
#
# Note: the alternative is to rewrite: 3.0.6.dev5 to 3.0.6~dev5.

opts="searchmode=plain" \
 https://gitlab.com/@PACKAGE@/@PACKAGE@/tags?sort=updated_desc \
 /@PACKAGE@/@PACKAGE@/-/archive/[^/]+/@PACKAGE@-rel\.([0-9][0-9.]*)@ARCHIVE_EXT@