Skip to content

Commit

Permalink
feat: Formula v21.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jun 15, 2024
1 parent bae713c commit ff5baeb
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.10.0"
version "21.10.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: "362f061cbf409804c30a7f254e7c2fab853ef0b2b696a7beb5328354c3a47ab0",
intel: "6266442985a12c7765f7064cb4d0e4fc405b22804b558f592d115fa15d9294fb"
sha256 arm: "519f155d3475b29ff009a8ad33988b8e663cb809efa485253851dc51e0a54f93",
intel: "888602d8fc9c5e6c412de037c77831e4e198244969319201ae81fdca546b5f6f"
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.10.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v21.10.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "d07416f9ff44c61fa4db2e85725924b5f00277b7a8df7d7a48b99b3f2c586049"
sha256 "6406192ea3aefa8b918d4a3fca12d55827ddac96af9677f9b61a957a8a3e7f74"
license "MIT"
version "21.10.0"
version "21.10.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.10.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-15T06:42:27Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=21.10.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-15T15:47:55Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit ff5baeb

Please sign in to comment.