Skip to content

Commit

Permalink
feat: Formula v24.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Dec 20, 2024
1 parent 69373f8 commit 208d98f
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.16.0"
version "24.16.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: "f8051505df40165aafcd4c6b3e1b8398c458f36ef76e6acdcdf9808dd5c71587",
intel: "52d0d6da19beb14e217938bbe4a529098bde58c8b7c3dab3c594f4191242e17f"
sha256 arm: "a22a26b9598a7744587ed0b35b1549ee1aedc31b33f8837936ff0f9989db470a",
intel: "be9ad079a622c292b6a5d28915e3078c723dcaf31ef85d301e99ddae7e200eb0"
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.16.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.16.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "8e19bc0ed631b5ce9be220e233afb38fee3a9122c8ef0b5557137af00b482e7d"
sha256 "b561a8d9f3cf04c6a422de8965d9e184731eeace9c0bc5f2df15f3e9acc67e91"
license "MIT"
version "24.16.0"
version "24.16.1"

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.16.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-19T19:55:18Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.16.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-20T08:28:14Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 208d98f

Please sign in to comment.