Skip to content

Commit

Permalink
feat: Formula v21.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jun 17, 2024
1 parent 5b455e8 commit 83a7dc5
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 "21.12.0"
version "21.12.1"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "35165c17e2b011a88d51e10ea6a25ea960a9cfc591a345f01c5e14154f7ded48",
intel: "c9293a942f092b3d8fc8f585be2762bff8cfeaa7275d14842a5c1544db722078"
sha256 arm: "1844fbf6eeed9f55653491ec935c560a9ccfde8e2c3b14e739dc3e2a3be82f90",
intel: "fe4bd8e396a1fa27568966d3858f780c8e5488b67b54e604d7a23e3bd6dca26b"
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/v21.12.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v21.12.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "da719b94d9b8bfdf55e83f8136a6294a419336eab7e0292348c1dbdaa84f921c"
sha256 "841bc611e038412f0a6ec380b11c9868fcd2b47257af7c8b5043179e9e40df9a"
license "MIT"
version "21.12.0"
version "21.12.1"

depends_on "go@1.22" => :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=21.12.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-17T14:05:42Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=21.12.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-17T17:52:29Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 83a7dc5

Please sign in to comment.