]> git.ipfire.org Git - pakfire.git/commitdiff
macros: Add a GitHub URL macro for tags (instead of releases)
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Feb 2025 13:43:53 +0000 (13:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Feb 2025 13:43:53 +0000 (13:43 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
macros/github.macro

index 3f4b3f32133428cd859d80a69a6701f496aa82fa..894932d0c3a681b9c3fedc5788769a9643872b72 100644 (file)
@@ -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/