Skip to content

Commit

Permalink
feat: Formula v24.11.4
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Dec 1, 2024
1 parent 8e2bbd6 commit 380e72a
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.11.3"
version "24.11.4"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "667aead16b0cef1188357ab2aae4d891d96b2d66a6a3ce3157dcc714e35dd9b7",
intel: "480bc1f94bcc8d0b932c41e14ede7e4fd66a7fbaf0eb8f00eb2da5d5866673fd"
sha256 arm: "c5b99aec9ea7d117b7b99c00d4b5821dc1d88d1d936279941171686b68d972cc",
intel: "f3b6de49d0118e3f271ce2eaadbee08f471a48873107561c0623aa934c609fab"
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.11.3.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.11.4.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "7c52689617f13ff2714bc0e9b6c0e4962efeefa820e28e358149443dcaebc44f"
sha256 "c3f79e2886ec4a0b0f0224dcb249f999b97356a65cdbe187edd7a7d907c06776"
license "MIT"
version "24.11.3"
version "24.11.4"

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.11.3\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-01T16:49:42Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.11.4\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-01T17:15:13Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 380e72a

Please sign in to comment.