From 762d624e869bacbec3b039589c78e255319a8140 Mon Sep 17 00:00:00 2001 From: JanDeDobbeleer Date: Sat, 16 Nov 2024 13:28:54 +0000 Subject: [PATCH] feat: Formula v24.6.1 --- Casks/oh-my-posh.rb | 6 +++--- oh-my-posh.rb | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index e778d15..636d0aa 100644 --- a/Casks/oh-my-posh.rb +++ b/Casks/oh-my-posh.rb @@ -2,11 +2,11 @@ desc "Prompt theme engine for any shell" homepage "https://ohmyposh.dev" arch arm: "arm64", intel: "amd64" - version "24.5.2" + version "24.6.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: "b8cd7b9de5a2f85f47b456f92668ec945d079f11044e06fc5a1cb735a6f45319", - intel: "fb4512356ea9a22b63fda525957b9bb4bd071509e592dc5da9c95833a5324665" + sha256 arm: "84cd2631ddd0208169ab486cb37b33f1bcf915a28c6f0eafb4bddbbbbf0c0ccd", + intel: "aac77a50303695f091d45513ee0decd4dceda79b119f672b19f3cdc8c7bb7a33" name "oh-my-posh" binary "posh-darwin-#{arch}", target: "oh-my-posh" auto_updates true diff --git a/oh-my-posh.rb b/oh-my-posh.rb index fc2d7f2..b0182f3 100644 --- a/oh-my-posh.rb +++ b/oh-my-posh.rb @@ -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.5.2.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.6.1.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "74cc35ee2d74da52a232355e6f89b924e49e453ee0c3ffdd0783742fc7768db5" + sha256 "7e397a633605cb12a11d2bce7f8d4fb5f4b4c8b2b9bd7f861e9375f76726d37d" license "MIT" - version "24.5.2" + version "24.6.1" depends_on "go@1.22" => :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.5.2\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-16T09:43:16Z\'\"") + 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\'\"") bin.install "oh-my-posh" end mv "themes", prefix