Skip to content

Commit

Permalink
feat: Formula v24.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 16, 2024
1 parent 762d624 commit 99ad3cf
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.6.1"
version "24.6.2"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "84cd2631ddd0208169ab486cb37b33f1bcf915a28c6f0eafb4bddbbbbf0c0ccd",
intel: "aac77a50303695f091d45513ee0decd4dceda79b119f672b19f3cdc8c7bb7a33"
sha256 arm: "d80cd4b75a50f6bb63ef9e277803673ccf1c9fc4fff1650b2f9ca7e816cd4ee1",
intel: "ff6ff2db56f44cfc0aaff0a307652f447d6c767e56b3297960471990b770b930"
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.6.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.6.2.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "7e397a633605cb12a11d2bce7f8d4fb5f4b4c8b2b9bd7f861e9375f76726d37d"
sha256 "d42a73ef7c2104334cd63b7e40ce211a9588bf33ea87b12f05dcfa2a9a123e32"
license "MIT"
version "24.6.1"
version "24.6.2"

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.6.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-16T13:28:51Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.6.2\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-16T14:00:13Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 99ad3cf

Please sign in to comment.