Skip to content

Commit

Permalink
feat: Formula v24.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Dec 19, 2024
1 parent 545b110 commit 69373f8
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.15.1"
version "24.16.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: "84074a3c9898ca0719bfc903319937ad5c7838076c04412451dc025080a76fe0",
intel: "3bcd2f8c2a3614bb34a72ca5120ce4af8a7461ce86cd77092ebf6705fd354330"
sha256 arm: "f8051505df40165aafcd4c6b3e1b8398c458f36ef76e6acdcdf9808dd5c71587",
intel: "52d0d6da19beb14e217938bbe4a529098bde58c8b7c3dab3c594f4191242e17f"
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.15.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.16.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "20f9854fe646d7c10769ff97c6fd9fcf5c6b896bf6175725f53b65e1db9c8d8e"
sha256 "8e19bc0ed631b5ce9be220e233afb38fee3a9122c8ef0b5557137af00b482e7d"
license "MIT"
version "24.15.1"
version "24.16.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.15.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-18T15:07:30Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.16.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-19T19:55:18Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 69373f8

Please sign in to comment.