Skip to content

Commit

Permalink
feat: Formula v21.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jun 1, 2024
1 parent 0647ee4 commit 368149d
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.0.1"
version "21.1.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: "ba2ec905c5ad14011d9e10f616fa90c8f32d3db38e12031b13fda68dd5b62848",
intel: "081af28c330722d1ac268948cbed404a2ca1e19a287c8cc60b49c0f2ced9305c"
sha256 arm: "2c8382afa8eed91ee769fcd6efabfd24057c2c7c879c4cba8af8295ac58b41ae",
intel: "2c2c1b080d3cbbd9c823838517f887057e5b75c51e6d5da71eab0b037631413d"
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.0.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v21.1.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "8ce35d66239ed1c6764e52c1d1e429d5fc0cf920f2c7b6bb6d52644dda5426ea"
sha256 "b8d9314db9bc418e24fef1ee449b38c588801fb5ce489bcc57e80f2c858a06d7"
license "MIT"
version "21.0.1"
version "21.1.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.0.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-05-30T19:30:53Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=21.1.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-01T15:05:41Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 368149d

Please sign in to comment.