Skip to content

Commit

Permalink
feat: Formula v23.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jul 26, 2024
1 parent 3c7c891 commit febcf84
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 "23.0.1"
version "23.0.2"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "476b09b296dd2c41aac958b4af932e2a8d94892f01d0445966e08db75ac2c5a7",
intel: "7ab141a242f1232d33345e5eed4c5ae3862afee45f1e7476d9ab26f3f467af23"
sha256 arm: "812a41c7a87789e36094bae4d35d36e994175f8103b945c38a1ebdab9eab4828",
intel: "984871b1960650b142be68e2bbb40e1685d6da24312801120948314830b240dd"
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/v23.0.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v23.0.2.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "2ec5aa1cfe821a0d0c2bc563282c961c0d4479b428c030f58640c03ef7099922"
sha256 "9dba7f9993e255904b42214473588ddb96bea6b8877cccf969399b9add2363b6"
license "MIT"
version "23.0.1"
version "23.0.2"

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=23.0.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-07-26T08:47:31Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=23.0.2\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-07-26T14:02:21Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit febcf84

Please sign in to comment.