Skip to content

Commit

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

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

0 comments on commit dbd66a0

Please sign in to comment.