Skip to content

Commit

Permalink
feat: Formula v24.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 6, 2024
1 parent 2df7797 commit 61e773f
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.0.8"
version "24.0.9"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "d474688f7f3ca7534b97b9fb7921d61841c78de5609a16e9813842949a534b00",
intel: "3448b0b4ac6a2fb117569f441d4e11433dd4215b63434fdcae904ff7cab69b46"
sha256 arm: "2b4f45c7847323e62d7250adc02c86eef5800966b40ee3c53b3d1f73bc8f3315",
intel: "29263c58c6aebaede1a4d39881cbca2180e788edd7ec27d0788a1208c4c7c4e9"
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.0.8.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.0.9.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "f8140de73781f806de4302f230f7ef31de6de43866b624d68c0bfb64a94fb6a3"
sha256 "d58609cb875ff8ca1245b1b32a955328592d053fe45123dc60a7047326d352f1"
license "MIT"
version "24.0.8"
version "24.0.9"

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.0.8\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-06T05:57:40Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.0.9\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-06T18:46:27Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 61e773f

Please sign in to comment.