Skip to content

Commit

Permalink
feat: Formula v18.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Aug 8, 2023
1 parent ad5026d commit ba087d7
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.3.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.3.2.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "8d263b912c38436e2ab2971925653646749c57de1cc8080f5988221562d6ba13"
sha256 "bb8a456e7b41497df1198f9d8f6a90e1ce44b4b7dc7bb68fc129bf0fbec639ee"
license "MIT"
version "18.3.1"
version "18.3.2"

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.3.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-08-06T19:03:20Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.3.2\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-08-08T07:32:10Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit ba087d7

Please sign in to comment.