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