Skip to content

Commit

Permalink
feat: Formula v24.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Dec 22, 2024
1 parent 39e26e8 commit 17ec222
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.17.0"
version "24.17.1"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "a2fa9175e52d657d3a34253e5df9a89c019d2e6c1c5ec479f0840d103e11e028",
intel: "50ceea1cb409c8377dbd3191908163d98b9b0832b7d5aa0ff29e061e5d43551b"
sha256 arm: "a08b78a5c256af3ea114e445f05b4cff5adbaabd99ed13183698a80645ae2e94",
intel: "b83ba1d707c19380e057c816b37063b781210c6ec5ea519091d2f2df79648783"
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.17.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.17.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "a1930056996ebbca17982a50c49d4a7c31415cdac864540ea88e0b94f619aae0"
sha256 "c53c8c62bdc116a9ff11a54f5a0a8f9e0ac1ba594adcfe7dbf4941d663154636"
license "MIT"
version "24.17.0"
version "24.17.1"

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.17.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-22T17:26:05Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.17.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-22T19:48:08Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 17ec222

Please sign in to comment.