From c9c560064f0848442106a58a2d167df1dbd80eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 11 Jan 2026 17:36:59 +0100 Subject: [PATCH] package/homebrew: extract the SHA1 from the version instead of duplicating. Co-authored-by: Dora "cat" --- package/homebrew/magnum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/homebrew/magnum.rb b/package/homebrew/magnum.rb index 6c4ffa9e5..a25d296fd 100644 --- a/package/homebrew/magnum.rb +++ b/package/homebrew/magnum.rb @@ -4,7 +4,7 @@ class Magnum < Formula # git describe origin/master, except the `v` prefix version "2020.06-3494-gb85f0c8df" # Clone instead of getting an archive to have tags for version.h generation - url "https://github.com/mosra/magnum.git", revision: "b85f0c8df" + url "https://github.com/mosra/magnum.git", revision: version.to_str().rpartition('g')[2] head "https://github.com/mosra/magnum.git" depends_on "cmake" => :build