Skip to content

Commit

Permalink
feat: Formula v18.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Oct 30, 2023
1 parent 1c887b7 commit 71f48b4
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,10 +2,10 @@
desc "Prompt theme engine for any shell"
homepage "https://ohmyposh.dev"
arch arm: "arm64", intel: "amd64"
version "18.18.1"
version "18.19.0"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}"
sha256 arm: "14c4cb63c8c5ff5a15bdc7561328d5882fa8bb820bc5940756bb9423920d65f3",
intel: "331ca205d6ed7f541ee9a25467442c47c0dc76e3fde0ec2985a55f1c8b388bc0"
sha256 arm: "8ab7995985f938dbb58131252f984de01fe4c70ec93bb7a13107e0db160a757d",
intel: "f7ad0df8c1c02583d4c0f2c3457aa31607aa0c88bd4836497b772d7e3d77532d"
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/v18.18.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.19.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "e566e0678470efa8097c1c7b71a01deaed7b072e38ac811289a004bbfc706f30"
sha256 "0ba76916d6cfe5a91c418a3c0ae35074e9501fed5e6925f60c7cd236dc8731ba"
license "MIT"
version "18.18.1"
version "18.19.0"

depends_on "go@1.21" => :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=18.18.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-30T14:50:25Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.19.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-30T21:30:19Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 71f48b4

Please sign in to comment.