Skip to content

Commit

Permalink
feat: Formula v24.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Dec 18, 2024
1 parent ef6b3a0 commit d3d38c6
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 "24.14.0"
version "24.15.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: "de93d452f2b4c9884399d3da0bbc9499859320c2b2a78ee6d392aa516a6fb4c5",
intel: "f8a03db5a298a0be290879b679b4af437c180f916ec5feb67d134ee628de985f"
sha256 arm: "7b79c49ebafc1ae848b2276320a500ba570a1f1493ae51f659f7512c2a02def4",
intel: "0b1aacddde01fd71ffc097a9598fa668d0c0563916967fe47d1750a3cbeaf8be"
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/v24.14.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.15.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "0755aaf80398d4c6cf1adbe179e964d31ad0536dc2d728bd0b389327e993157c"
sha256 "1218c8f67a7a516b8596bad4233fbeb785559fd0364eb03c9ac750bd4745ae39"
license "MIT"
version "24.14.0"
version "24.15.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=24.14.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-17T19:50:34Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.15.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-18T08:06:48Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit d3d38c6

Please sign in to comment.