Skip to content

Commit

Permalink
feat: Formula v18.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Sep 24, 2023
1 parent 4e52734 commit 554d1f5
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.10.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.10.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "2c2362e0308e2d83cf235aaae7fbd0174ae370919791788968d5926e299cb16b"
sha256 "10a5bb05b0c949746a63a2ff61be2cbf10799feb38f737bf7376f63a55c4f73b"
license "MIT"
version "18.10.0"
version "18.10.1"

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.10.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-09-23T20:41:11Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.10.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-09-24T07:31:19Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 554d1f5

Please sign in to comment.