Skip to content

Commit

Permalink
feat: Formula v24.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 20, 2024
1 parent 8b0cec6 commit 9a1aac1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Casks/oh-my-posh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
desc "Prompt theme engine for any shell"
homepage "https://ohmyposh.dev"
arch arm: "arm64", intel: "amd64"
version "24.6.4"
version "24.6.5"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "f5d322505604c228ec501e44b08e7678d5feddb712e76e93e09a4e99e9e00c12",
intel: "6af6c5e6c0c571f2e855c7f51ce17c66f190dc5b32ea8194d122fc03e74da3b4"
sha256 arm: "d792bd95bbdcb17071d2355be7184fbcdac285de4ec550c605b2f622fc047628",
intel: "a78f83db46215c8bc33891bf06a536c920883868468708ad11123f5c22ab56fc"
name "oh-my-posh"
binary "posh-darwin-#{arch}", target: "oh-my-posh"
auto_updates true
Expand Down
8 changes: 4 additions & 4 deletions oh-my-posh.rb
Original file line number Diff line number Diff line change
@@ -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.6.4.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.6.5.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "dac5e27f9e9620a75742921ba5b27829f8344b357f9b461cacdb80b31181a022"
sha256 "667da8545a426a8744c0bfd1b8d00b996404d406bbd33babeb9d6a6a9dd43bb2"
license "MIT"
version "24.6.4"
version "24.6.5"

depends_on "[email protected]" => :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.6.4\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-17T11:31:45Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.6.5\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-20T19:40:00Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 9a1aac1

Please sign in to comment.