Skip to content

Commit

Permalink
feat: Formula v18.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Aug 27, 2023
1 parent 3dcc124 commit 4c51d82
Showing 1 changed file with 4 additions and 4 deletions.
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.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 "[email protected]" => :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
Expand Down

0 comments on commit 4c51d82

Please sign in to comment.