version=4

# Upstream tarballs are published as palmer-mail-<version>.tar.gz in the same
# directory as the .deb downloads.
#
# THE PATTERN MUST STAY ANCHORED ON .tar.gz. That directory also holds
# palmer-mail_<version>_<target>_amd64.deb files; a looser pattern would
# match a binary and report it as an upstream release.
#
# NO pgpsigurlmangle: no detached signature is published alongside the tarball.
# Adding one is a real improvement and it is upstream's to make first -- a watch
# file that points at a signature which does not exist fails every run.
#
# The tarball this matches is the SANITISED public tree with debian/ excluded,
# byte-identical to the file shipped as the .orig.tar.gz.
https://palmermail.cevinpalmer.com/download/ \
    palmer-mail-([\d.]+)\.tar\.gz
