diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index b8d420b..d122639 100644 --- a/Casks/oh-my-posh.rb +++ b/Casks/oh-my-posh.rb @@ -2,11 +2,11 @@ desc "Prompt theme engine for any shell" homepage "https://ohmyposh.dev" arch arm: "arm64", intel: "amd64" - version "24.0.8" + version "24.0.9" url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}", verified: "github.com/JanDeDobbeleer/oh-my-posh/" - sha256 arm: "d474688f7f3ca7534b97b9fb7921d61841c78de5609a16e9813842949a534b00", - intel: "3448b0b4ac6a2fb117569f441d4e11433dd4215b63434fdcae904ff7cab69b46" + sha256 arm: "2b4f45c7847323e62d7250adc02c86eef5800966b40ee3c53b3d1f73bc8f3315", + intel: "29263c58c6aebaede1a4d39881cbca2180e788edd7ec27d0788a1208c4c7c4e9" name "oh-my-posh" binary "posh-darwin-#{arch}", target: "oh-my-posh" auto_updates true diff --git a/oh-my-posh.rb b/oh-my-posh.rb index ec5ced4..b264be8 100644 --- a/oh-my-posh.rb +++ b/oh-my-posh.rb @@ -1,18 +1,18 @@ class OhMyPosh < Formula desc "Prompt theme engine for any shell" homepage "https://ohmyposh.dev" - url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.0.8.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.0.9.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "f8140de73781f806de4302f230f7ef31de6de43866b624d68c0bfb64a94fb6a3" + sha256 "d58609cb875ff8ca1245b1b32a955328592d053fe45123dc60a7047326d352f1" license "MIT" - version "24.0.8" + version "24.0.9" depends_on "go@1.22" => :build def install Dir.chdir("src") do ENV["GOPROXY"] = ENV.has_key?("HOMEBREW_GOPROXY") ? ENV["HOMEBREW_GOPROXY"] : "" - system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.0.8\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-06T05:57:40Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.0.9\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-06T18:46:27Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix