Skip to content

Commit

Permalink
feat: Formula v21.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jun 16, 2024
1 parent ff5baeb commit 913570c
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.1"
version "21.10.2"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}",
verified: "github.com/JanDeDobbeleer/oh-my-posh/"
sha256 arm: "519f155d3475b29ff009a8ad33988b8e663cb809efa485253851dc51e0a54f93",
intel: "888602d8fc9c5e6c412de037c77831e4e198244969319201ae81fdca546b5f6f"
sha256 arm: "7ac6e38f25d134844706f055dccf3ffa01358d2f135bda893c033da44f6806dd",
intel: "7cb597d81c8688395e11f7db17cf85be3f222fa0fd753709d34aa3d66096203c"
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.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v21.10.2.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "6406192ea3aefa8b918d4a3fca12d55827ddac96af9677f9b61a957a8a3e7f74"
sha256 "fb2b821e2f0f46daead3defa54ad9db4ae119bb9139e7ecbf11b09f6b0fcd3eb"
license "MIT"
version "21.10.1"
version "21.10.2"

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.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-15T15:47:55Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=21.10.2\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-06-16T12:25:35Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 913570c

Please sign in to comment.