Skip to content

Commit

Permalink
feat: Formula v24.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 25, 2024
1 parent f91dde9 commit 5c83be5
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.8.0"
version "24.9.0"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "03f673507bcc2c52f77eda4cfe410971bc2487fbd73d3991c1697543609b8f12",
intel: "e1b3797ca97a9e165c5fbc99c1ceceafb3142aebe50a0180d4d1c85731e5eaed"
sha256 arm: "c371fd2253167041f72cf3ab8a486b87d40a056a65f07bdd37b042ec09be5774",
intel: "37546cf827af38a4ee544a2a9a66f1ebdd4e5d1d54ad9a5578157d3baf61c2a3"
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.8.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.9.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "75bdc19cb0b3943815d35c464f5e96ed9cff3940ee06609d7a8b373645914fbc"
sha256 "2c6ae4231fa0298b1dac43898212b18abe2efa3c21ed4d9d7490aa8c4d76e162"
license "MIT"
version "24.8.0"
version "24.9.0"

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.8.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-24T09:26:56Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.9.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-25T07:28:39Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 5c83be5

Please sign in to comment.