ci(macos): automatically determine default branch for homebrew formula (#2317)

This commit is contained in:
ReenigneArcher 2024-03-28 19:18:49 -04:00 committed by GitHub
commit 3b6a59af05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -7,7 +7,7 @@ class @PROJECT_NAME@ < Formula
tag: "@GITHUB_BRANCH@"
version "@PROJECT_VERSION@"
license all_of: ["GPL-3.0-only"]
head "@GITHUB_CLONE_URL@", branch: "nightly"
head "@GITHUB_CLONE_URL@", branch: "@GITHUB_DEFAULT_BRANCH@"
depends_on "boost" => :build
depends_on "cmake" => :build