Skip to content

Commit

Permalink
feat: Formula v23.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Sep 2, 2024
1 parent 2f65478 commit d3c2a49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Casks/oh-my-posh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
desc "Prompt theme engine for any shell"
homepage "https://ohmyposh.dev"
arch arm: "arm64", intel: "amd64"
version "23.9.1"
version "23.10.0"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "eb05189f21a061cac89f089f565d16e525b7a15360200626757efe5ad97cce7d",
intel: "0517079a1b489b5d3d4853b31020565eba271e5820e576fcb5b259e689093ea1"
sha256 arm: "98f3bd88723eed530cfd7a5439ebd22b1aaa168545071a23cdb83de337c2455e",
intel: "95d69e7a4602900ec934adee77de6078d30688e977f95f383f3a9bbf9b9e2f27"
name "oh-my-posh"
binary "posh-darwin-#{arch}", target: "oh-my-posh"
auto_updates true
Expand Down
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/v23.9.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v23.10.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "21711cdc29092101b54712fef2692f77b38e3cffde33a4e218ed30a039031338"
sha256 "00053d108e70bb64fe98ce14f78d51b20a01e62d82aa22ed4253eddb859e933f"
license "MIT"
version "23.9.1"
version "23.10.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=23.9.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-29T16:24:36Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=23.10.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-09-02T10:53:48Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit d3c2a49

Please sign in to comment.