Skip to content

Commit

Permalink
feat: Formula v24.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Dec 16, 2024
1 parent dcee2f3 commit ef4f669
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.13.0"
version "24.13.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: "e637b4600b629d45bb37e6b960fae964c69f00bc4649ec09a6ea15671a9775d7",
intel: "b6ef812f61eeba77fa593c1ffcec08ce0b313d42a53da48e935c1b6a2dfed0c9"
sha256 arm: "27a67d963d72d19d5404fb63615c35344f4edcc7d9185b9dbe162e14595fd5ba",
intel: "9b3013aeec1ec59033cdea18bf3cbaec260df37159642b65544b680256d0cb7b"
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.13.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.13.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "1a8da2257ee2775b9ab2fa2b50c8e10f4ed68dc837fa30c49f8c356a57bb24ba"
sha256 "4813999fec4c5ab4011d1ad800598afc92459c685dafa0cbaaa9ab6aceefad68"
license "MIT"
version "24.13.0"
version "24.13.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.13.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-16T05:16:09Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.13.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-16T07:25:27Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit ef4f669

Please sign in to comment.