From: Michael Tremer Date: Sat, 15 Feb 2025 13:43:53 +0000 (+0000) Subject: macros: Add a GitHub URL macro for tags (instead of releases) X-Git-Tag: 0.9.30~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90c206fed16e75515408af2bcd2d6d388c06c6dd;p=pakfire.git macros: Add a GitHub URL macro for tags (instead of releases) Signed-off-by: Michael Tremer --- diff --git a/macros/github.macro b/macros/github.macro index 3f4b3f32..894932d0 100644 --- a/macros/github.macro +++ b/macros/github.macro @@ -29,3 +29,6 @@ github_home = https://github.com/%{github_organization}/%{github_project}/ # URL to download sources github_url = %{github_home}/archive/%{github_version}/ + +# URL to download a tag (instead of a release) +github_tag_url = %{github_home}/archive/refs/tags/