~m-grant-prg/lixbackups/trunk

« back to all changes in this revision

Viewing changes to debian/watch

  • Committer: Mark Grant
  • Date: 2018-11-01 11:00:46 UTC
  • Revision ID: m.grant.prg@gmail.com-20181101110046-7g8cs7zrlbzf5amh
Update watch file to new standard version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# GitHub host.
10
10
# ============
11
11
 
12
 
# The github tags and releases tend to be just v1.0.1, so apart from finding
13
 
# the releases, this also creates a package-version tarball.
 
12
# Gitub releases produce source tarballs with just the release as filename, eg
 
13
# v1.0.1.tar.gz. So, apart from finding the tarball, this watch line also
 
14
# renames the downloaded tarball to package-version.tar.gz.
 
15
 
14
16
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)@ARCHIVE_EXT@%@PACKAGE@-v$1.tar.gz%" \
15
 
   https://github.com/m-grant-prg/@PACKAGE@/releases \
16
 
   (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ debian
 
17
https://github.com/m-grant-prg/@PACKAGE@/releases \
 
18
(?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ debian
 
19
 
 
20
 
17
21
# The 3 lines below could be appended to the line above to look for a PGP
18
22
# signature. However, as supplied, it does not work.
19
23
# , \
24
28
# Hermes host.
25
29
# ============
26
30
 
27
 
# The perl regex below allows for tarball name formats of package-v1.0.1.tar.gz,
28
 
# package-v1.0.1+rc1.tar.gz and package-v1.0.1-4-g6650f8e.tar.gz.
 
31
# The regex below allows for tarball name formats of package-src-v1.0.1.tar.gz,
 
32
# package-src-v1.0.1+rc1.tar.gz and package-src-v1.0.1-4-g6650f8e.tar.gz.
 
33
 
29
34
http://hermes.mgent.home/deployments/source/ \
30
 
        @PACKAGE@-v(\d[\d.]*[\w+]*[\w-]*)@ARCHIVE_EXT@ debian
 
35
        @PACKAGE@-src-v(\d[\d.]*[\w+]*[\w-]*)@ARCHIVE_EXT@ debian
31
36
 
32
37
 
33
38
# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig
58
63
 
59
64
# Uncomment to find new files on GooglePages
60
65
# http://example.googlepages.com/foo.html @PACKAGE@-(.*)@ARCHIVE_EXT@
 
66