fix: make version update check more robust (#2437)

This commit is contained in:
ReenigneArcher
2024-04-18 15:35:49 -04:00
committed by GitHub
parent c896dabb82
commit 69191cafe9
5 changed files with 33 additions and 5 deletions
+4
View File
@@ -19,6 +19,10 @@ class @PROJECT_NAME@ < Formula
depends_on "opus"
def install
ENV["BRANCH"] = "@GITHUB_BRANCH@"
ENV["BUILD_VERSION"] = "@BUILD_VERSION@"
ENV["COMMIT"] = "@GITHUB_COMMIT@"
args = %W[
-DBUILD_WERROR=ON
-DCMAKE_INSTALL_PREFIX=#{prefix}