Skip to content

Commit

Permalink
feat: Formula v24.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 4, 2024
1 parent a5a6188 commit b7c7640
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.0"
version "24.0.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: "5fe227f9b0737f865a2a85e55cd9dc2b6a3bc5639ea77ea4642f4e1ce2c839e8",
intel: "23f83551837a7bf65b9c7647c4e597a3ecb102a94bcc5a38f559539ab0b37ea7"
sha256 arm: "b8911648ec4a2872423bd479562b459dd221857c2eb6fc0c8acba060a82d22df",
intel: "95105c7b9fcb40bab3a71065347f67c1b01b24c4622662b0839b339efcbbd0c7"
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.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.0.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "5c722243d432b5ca4b1cb4b85a22a6fa672f2abac1ad529159cef7f115c6f54b"
sha256 "35a535bf7911f29ae6dd703215899d6411ac219514793790ad74ee66a4b5d6b8"
license "MIT"
version "24.0.0"
version "24.0.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.0.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-04T13:36:03Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.0.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-04T13:59:30Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit b7c7640

Please sign in to comment.