diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index 67e5eb3..045b796 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 "23.6.0" + version "23.6.1" url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}", verified: "github.com/JanDeDobbeleer/oh-my-posh/" - sha256 arm: "aef4dbaad8443aeffa311f73ca9fbc99f8852a588387d1225e589d8584051643", - intel: "c5ea3b72a44dbf086a0ac0cdf21be37f8227e0031c35ac9c789f790756a6d4aa" + sha256 arm: "75dc58d59b9da6328bced876071b0640131b98c7b659391e2d43e1645d7bd4f7", + intel: "70c5f59e6d44b8d9f5f78f462a161da7e099c00047701f82cb55cc0d6572e5a0" 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 2a563e7..6a9604b 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/v23.6.0.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v23.6.1.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "7c7ff26499101e01067ddc40a5be545b696f5d481f36c5e0c35c43aebd47cb71" + sha256 "eeafe60278232e4df7e2ced77e8a9cead8032e561488aab8dafb689b77eb636f" license "MIT" - version "23.6.0" + version "23.6.1" 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=23.6.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-06T16:31:10Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=23.6.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-08T08:13:23Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix