Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
build: set min macos version to ventura
Browse files Browse the repository at this point in the history
  • Loading branch information
conr2d committed Nov 27, 2022
1 parent 15fa126 commit 4c092e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/generate_bottle.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#! /bin/bash

VERS=`sw_vers -productVersion | awk '/^12\..*/{print $0}'`
VERS=`sw_vers -productVersion | awk '/^13\..*/{print $0}'`
if [[ -z "$VERS" ]];
then
echo "Error, unsupported MacOS version"
exit -1
fi
MAC_VERSION="monterey"
MAC_VERSION="ventura"

ARCH=$(uname -m)
if [[ "${ARCH}" == "arm64" ]];
Expand Down Expand Up @@ -54,7 +54,7 @@ echo "class Blanc < Formula
depends_on \"cmake\"
depends_on \"llvm\"
depends_on :xcode => :build
depends_on :macos => :monterey
depends_on :macos => :ventura
bottle do
root_url \"https://github.com/haderech/blanc/releases/download/${VERSION}\"
Expand Down

0 comments on commit 4c092e5

Please sign in to comment.