Skip to content

Commit

Permalink
feat: Formula v18.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Oct 30, 2023
1 parent b277da3 commit 842bb42
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,10 +2,10 @@
desc "Prompt theme engine for any shell"
homepage "https://ohmyposh.dev"
arch arm: "arm64", intel: "amd64"
version "18.17.3"
version "18.18.0"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}"
sha256 arm: "e8c9bd0afecb8e4d678390a2aba7c952dc4fce1e1d9c001209c2324db6dfd1ff",
intel: "16a38d4db1210c2528818141a77445d306a4d40eea89ac3b632c43d5216a4934"
sha256 arm: "21aa446b0da045fd783faae658f0dd2cba2110d8947a60597dceeb3f18b0c6a5",
intel: "ebd03ad15d492e7a728ac4573a5fb82de396742390bafafd987047b1104cb261"
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/v18.17.3.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.18.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "2424acd870be05773ca14344b7cf3d15c96056051d54ee7796dc56b148042cae"
sha256 "91b2a03e2edd122f5e230fb54c3d359e53c12bd6345652e18c4e45970095a846"
license "MIT"
version "18.17.3"
version "18.18.0"

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=18.17.3\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-30T13:23:36Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.18.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-30T14:38:12Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 842bb42

Please sign in to comment.