Skip to content

Commit

Permalink
feat: Formula v24.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Nov 23, 2024
1 parent baccf16 commit 9d3d72f
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.7.0"
version "24.7.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: "3bfbff3bbabe1f1b05d61ef3ffe099edc888c8ef8ddd28bccd27d06133124ea4",
intel: "bb60c31341b1b49ccf34c749943d19277d64ab1444b7bdfb7e3bc9370998b1f5"
sha256 arm: "d698d1f88d1ebda1868ce15bbb6591894b1095f40909ae5593e43a3763722763",
intel: "f050dafa28cfe90ecfaba985620f9d4f86cae81ca30c38b3405a2f1f7bd2ae54"
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.7.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.7.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "2344f99a66a311cfc6c2ff4d6396670e8429e82b537207e8040f99a8480b97d2"
sha256 "0f184be3522592a44390d2e1f5a453cfce661f4b09be4d3f5cbe2e57d4d1947f"
license "MIT"
version "24.7.0"
version "24.7.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.7.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-23T20:09:32Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.7.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-23T21:04:38Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 9d3d72f

Please sign in to comment.