diff --git a/oh-my-posh.rb b/oh-my-posh.rb index 5fdb0d9..244bdf2 100644 --- a/oh-my-posh.rb +++ b/oh-my-posh.rb @@ -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.4.0.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.5.0.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "c61c7b4186c43780facfd04574d93b269e73263650bfef21f7f82e7cdd6bbfd9" + sha256 "22e91ac5367985f921e2e37257004c9a137de3767ca5d139a695aa45e36cd65a" license "MIT" - version "18.4.0" + version "18.5.0" depends_on "go@1.20" => :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.4.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-08-25T10:18:26Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.5.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-08-27T10:14:52Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix