Skip to content

Commit

Permalink
feat: Formula v21.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jun 4, 2024
1 parent 189d4bc commit 18b2ffe
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.2.0"
version "21.2.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: "47907a6783c2454a4d1637139db444f2498274b9e6dd5e7b972e9edca516e411",
intel: "a2630dcd74e37a8e7c7b187979c634d5d4a25db959b7586a6ef5570c9e95df98"
sha256 arm: "6e35a0974027993727226674f975266d6e58c305d26084d8f5a2372493120eee",
intel: "d7d91119f95ba5eac09d119915a9812f10d73b150ad05dcb2337e1ed553a007f"
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.2.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v21.2.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "7a8b9e1aea460b58b9cb74aca37e2e5eb3dbc9ad7aa48b6279fe8b8d18e53a1b"
sha256 "8075d0d2c32f4be90704721f177f281656f6b2d5821b1e033af722e03f7fd3a7"
license "MIT"
version "21.2.0"
version "21.2.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=21.2.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-03T12:06:36Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=21.2.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-04T19:01:35Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 18b2ffe

Please sign in to comment.