Skip to content

Commit

Permalink
feat: Formula v24.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 5, 2024
1 parent 1ed525a commit efe092f
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.0.5"
version "24.0.6"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "9c41d090764775e78842eaab119a765ce0488fc2377fa37a0a854f0bfc36e9d6",
intel: "db40bdeca26013799b600b179812f042e2a1312754016b0f90fffdfe602b2e62"
sha256 arm: "594116a9e9fa610f05692eb77e51bf6d9b381c30d93a9b4f4c7c4ee098e54f39",
intel: "2ff2ccf5801e35f0c2de3a3a6f8c1bdab1dcdc03f4aa438f9a0fb2bda6093064"
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.0.5.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.0.6.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "8b6f37fe745fdc4b23aae9da6b793ca4fbd06e2458c9f177e91b90eebe69d50e"
sha256 "9103b79366ca7596ee8782f49f02939bd5aead1caba080e1d9ad0b18e556eb38"
license "MIT"
version "24.0.5"
version "24.0.6"

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.0.5\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-05T07:56:38Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.0.6\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-05T12:23:16Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit efe092f

Please sign in to comment.