Skip to content

Commit

Permalink
feat: Formula v24.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 13, 2024
1 parent 5326623 commit 0bbdc7d
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.4.0"
version "24.4.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: "d81a8592fc3125793cb2aabc351d73638946f390ce3fc99b1c302b4da28a84ec",
intel: "e6e753e934ef405bacd457ccc223932df1857dce20ba71a5c1fc4a7150cf6d70"
sha256 arm: "1e9e32c621be95235e37708d2d8be59c010dbbb32997fed59d8341f98d9faf2d",
intel: "f5f98ba461697a2f9e68e54cf0b41d5cb51ccb2e96ba2f52eca238185410eadb"
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.4.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.4.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "5c5381db204b3d9b4074a7628f8eb1c0737a0bd1afe1473d33fe16c4617b9f3f"
sha256 "0641e2d04381831d9009a6f739040ddba99929762f2e32ff368cce6d2ebb0a37"
license "MIT"
version "24.4.0"
version "24.4.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.4.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-13T16:05:07Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.4.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-13T23:02:07Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 0bbdc7d

Please sign in to comment.