Version: 5

# vault/api is released as api/vX.Y.Z tags of the hashicorp/vault monorepo.
# Only list those tags (the repository has thousands of other tags), then
# download the tag tarball. mk-origtargz strips it down to api/ according to
# Files-Excluded/Files-Included in debian/copyright. See debian/README.source.
Source: https://api.github.com/repos/hashicorp/vault/git/matching-refs/tags/api/v
Searchmode: plain
Matching-Pattern: https://api.github.com/repos/hashicorp/vault/git/refs/tags/api/v(\d+\.\d+\.\d+)
Download-Url-Mangle: s%(api\.github\.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%
Filename-Mangle: s%.*/v(\d[\d.]*)$%@PACKAGE@-$1.tar.gz%
Repacksuffix: +dfsg
Dversion-Mangle: auto
