Skip to content

Commit

Permalink
feat: Formula v23.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Aug 18, 2024
1 parent ad1c172 commit 4b17e95
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 "23.6.4"
version "23.6.5"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "369c0c07de3ccc8415da268109bcdd8dd7ffc6aa61c9dbd1608f5eb82d8e291a",
intel: "3b6b081ec0e66b1c351d29df7a505f7b3a73b09e11a86fde9f91197efac15128"
sha256 arm: "0c3045ff826f399e1aef7592f34be0c10223158fb682adba2dadd537a63a94ec",
intel: "6558f4f3f31c24c0a5e357d3a5965ad803b1957244f57399a3e15f2e4194af97"
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/v23.6.4.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v23.6.5.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "60ddacaaa71cbcd9e80b316758a81581cf8e517a5376526f875df4768939ff56"
sha256 "8c0653d969fcb5b628f7ff04b0340c3ed69ec72959e84b4e12a8e26810c73bdd"
license "MIT"
version "23.6.4"
version "23.6.5"

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=23.6.4\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-18T18:02:51Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=23.6.5\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-18T18:21:22Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 4b17e95

Please sign in to comment.