Skip to content

Commit

Permalink
feat: Formula v24.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 16, 2024
1 parent 99ad3cf commit a16268f
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.6.2"
version "24.6.3"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "d80cd4b75a50f6bb63ef9e277803673ccf1c9fc4fff1650b2f9ca7e816cd4ee1",
intel: "ff6ff2db56f44cfc0aaff0a307652f447d6c767e56b3297960471990b770b930"
sha256 arm: "1549e2bc87f699ec7679464732daef2cf9005bf8cd7a42148c1fc002d416bdfe",
intel: "1b773e478bebcf6a30813ba82704546c3ef2406cd971b2c3b7dcfc65b8c2a880"
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.6.2.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.6.3.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "d42a73ef7c2104334cd63b7e40ce211a9588bf33ea87b12f05dcfa2a9a123e32"
sha256 "75b7e14bac84bcfa6f59f8f1343e68e1e95bf5ec58015632aee7ad0a20314abc"
license "MIT"
version "24.6.2"
version "24.6.3"

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.6.2\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-16T14:00:13Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.6.3\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-16T19:29:34Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit a16268f

Please sign in to comment.