diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index 5291eb8..6157258 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.9.1" + version "23.10.0" url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}", verified: "github.com/JanDeDobbeleer/oh-my-posh/" - sha256 arm: "eb05189f21a061cac89f089f565d16e525b7a15360200626757efe5ad97cce7d", - intel: "0517079a1b489b5d3d4853b31020565eba271e5820e576fcb5b259e689093ea1" + sha256 arm: "98f3bd88723eed530cfd7a5439ebd22b1aaa168545071a23cdb83de337c2455e", + intel: "95d69e7a4602900ec934adee77de6078d30688e977f95f383f3a9bbf9b9e2f27" 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 25c35cb..ed527fd 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.9.1.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v23.10.0.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "21711cdc29092101b54712fef2692f77b38e3cffde33a4e218ed30a039031338" + sha256 "00053d108e70bb64fe98ce14f78d51b20a01e62d82aa22ed4253eddb859e933f" license "MIT" - version "23.9.1" + version "23.10.0" 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.9.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-29T16:24:36Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=23.10.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-09-02T10:53:48Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix