Skip to content

Commit

Permalink
feat: Formula v21.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jun 17, 2024
1 parent 82bee23 commit 09d2b83
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 "21.10.3"
version "21.11.0"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "413ccaf8fc65c62919878c97a3ac3909edb7c3634b6563b4b276891c8e378c4d",
intel: "75a1a77133dc04a53f1e23490dfb9e33751fe8246c137cf2efcaf71621dc0970"
sha256 arm: "2d4b26a475470ecce7a2e089c8bb6e74abb841199f9fb0409fcbb35c8e52052e",
intel: "d1b26440b41aca97b622a5f0b0ea0776c34a18f492eb46b1eaace5bb8eb8c8de"
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/v21.10.3.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v21.11.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "de6ffe42d4f8282e7f6c8e71061ea65071de2198ef54123f50209c69d24a2be5"
sha256 "9bafe055b48f1eb8145d2baabedfb14d1fc14c16a3e764fec4a316025ba09ff9"
license "MIT"
version "21.10.3"
version "21.11.0"

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=21.10.3\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-17T06:05:54Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=21.11.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-17T06:47:31Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 09d2b83

Please sign in to comment.