diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index d714e32..5282d2b 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.14.0" + version "24.15.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: "de93d452f2b4c9884399d3da0bbc9499859320c2b2a78ee6d392aa516a6fb4c5", - intel: "f8a03db5a298a0be290879b679b4af437c180f916ec5feb67d134ee628de985f" + sha256 arm: "7b79c49ebafc1ae848b2276320a500ba570a1f1493ae51f659f7512c2a02def4", + intel: "0b1aacddde01fd71ffc097a9598fa668d0c0563916967fe47d1750a3cbeaf8be" 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 efbef1f..001fc87 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.14.0.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.15.0.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "0755aaf80398d4c6cf1adbe179e964d31ad0536dc2d728bd0b389327e993157c" + sha256 "1218c8f67a7a516b8596bad4233fbeb785559fd0364eb03c9ac750bd4745ae39" license "MIT" - version "24.14.0" + version "24.15.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=24.14.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-17T19:50:34Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.15.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-18T08:06:48Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix