Skip to content

Commit

Permalink
feat: Formula v18.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Sep 4, 2023
1 parent f6ba84c commit 8cf095a
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.6.3.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.6.4.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "ef64a72c71bcd0b4ea1a2d68699e236bf4a245c1a00bb368c798908e695b4e05"
sha256 "58b20d78c604cb3fb7daad3e63ef7164b65f2c14432b2fed1841601c7430572e"
license "MIT"
version "18.6.3"
version "18.6.4"

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.6.3\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-09-03T07:10:07Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.6.4\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-09-04T15:14:40Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 8cf095a

Please sign in to comment.