diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index 4ce9ae8..6320cd3 100644 --- a/Casks/oh-my-posh.rb +++ b/Casks/oh-my-posh.rb @@ -2,10 +2,10 @@ desc "Prompt theme engine for any shell" homepage "https://ohmyposh.dev" arch arm: "arm64", intel: "amd64" - version "18.18.1" + version "18.19.0" url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}" - sha256 arm: "14c4cb63c8c5ff5a15bdc7561328d5882fa8bb820bc5940756bb9423920d65f3", - intel: "331ca205d6ed7f541ee9a25467442c47c0dc76e3fde0ec2985a55f1c8b388bc0" + sha256 arm: "8ab7995985f938dbb58131252f984de01fe4c70ec93bb7a13107e0db160a757d", + intel: "f7ad0df8c1c02583d4c0f2c3457aa31607aa0c88bd4836497b772d7e3d77532d" 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 29de225..91f4910 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/v18.18.1.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.19.0.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "e566e0678470efa8097c1c7b71a01deaed7b072e38ac811289a004bbfc706f30" + sha256 "0ba76916d6cfe5a91c418a3c0ae35074e9501fed5e6925f60c7cd236dc8731ba" license "MIT" - version "18.18.1" + version "18.19.0" depends_on "go@1.21" => :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=18.18.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-30T14:50:25Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.19.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-30T21:30:19Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix