From 90c206fed16e75515408af2bcd2d6d388c06c6dd Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 15 Feb 2025 13:43:53 +0000 Subject: [PATCH] macros: Add a GitHub URL macro for tags (instead of releases) Signed-off-by: Michael Tremer --- macros/github.macro | 3 +++ 1 file changed, 3 insertions(+) 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/ -- 2.39.5