Skip to content

Commit

Permalink
feat: Formula v24.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 30, 2024
1 parent f1b7230 commit f5975c7
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.1"
version "24.11.2"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "1331a4e5ac8df1b7ecf4225108932566378b39a54f48419885bb4969686cc0d6",
intel: "cb9451211061aa7f612668e30a5b359a3f4f4c9a4b43696f2b3b1b2abd1dfe72"
sha256 arm: "d322053fae5c6b79a3fed4ac8ef58b1bbf400a0c85599a7fd6495d17fc7d6960",
intel: "1e9259f437b22cae4157f249cb1c1d7d20737a4a9d673b4ea7f3c6d1c75148f6"
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.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.11.2.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "503ab068b16f6b57fd8d2f41c17539057c2b087b028b4127455b6251f2b2721e"
sha256 "22b1bfc7614a396e6acb7aa3ae60943f44e588fb9ede163e3fb18fc2a2125620"
license "MIT"
version "24.11.1"
version "24.11.2"

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.11.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-30T16:36:24Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.11.2\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-30T17:14:38Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit f5975c7

Please sign in to comment.