Version: 5
Template: GitHub
Owner: kubernetes-sigs
Project: kustomize
Repack: yes
Repacksuffix: +ds
Dversion-Mangle: auto
# Rewrite the GitHub API matching-refs URL to a proper archive download URL.
# Without this, uscan downloads the JSON API response instead of a tarball.
Download-Url-Mangle: s%api.github.com/repos/([^/]+/[^/]+)/git/matching-refs/tags/refs/tags/kustomize/(.*)%github.com/$1/archive/refs/tags/kustomize/$2.tar.gz%g
Matching-Pattern: refs/tags/kustomize/@ANY_VERSION@
