diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index 5fea41f..4ce9ae8 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.0" + version "18.18.1" url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}" - sha256 arm: "21aa446b0da045fd783faae658f0dd2cba2110d8947a60597dceeb3f18b0c6a5", - intel: "ebd03ad15d492e7a728ac4573a5fb82de396742390bafafd987047b1104cb261" + sha256 arm: "14c4cb63c8c5ff5a15bdc7561328d5882fa8bb820bc5940756bb9423920d65f3", + intel: "331ca205d6ed7f541ee9a25467442c47c0dc76e3fde0ec2985a55f1c8b388bc0" 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 5fcd5c0..29de225 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.0.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.18.1.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "91b2a03e2edd122f5e230fb54c3d359e53c12bd6345652e18c4e45970095a846" + sha256 "e566e0678470efa8097c1c7b71a01deaed7b072e38ac811289a004bbfc706f30" license "MIT" - version "18.18.0" + version "18.18.1" 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.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-30T14:38:12Z\'\"") + 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\'\"") bin.install "oh-my-posh" end mv "themes", prefix