Skip to content

Commit

Permalink
feat: Formula v23.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Aug 8, 2024
1 parent 5f008b3 commit 9a26e4e
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.6.0"
version "23.6.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: "aef4dbaad8443aeffa311f73ca9fbc99f8852a588387d1225e589d8584051643",
intel: "c5ea3b72a44dbf086a0ac0cdf21be37f8227e0031c35ac9c789f790756a6d4aa"
sha256 arm: "75dc58d59b9da6328bced876071b0640131b98c7b659391e2d43e1645d7bd4f7",
intel: "70c5f59e6d44b8d9f5f78f462a161da7e099c00047701f82cb55cc0d6572e5a0"
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.6.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v23.6.1.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "7c7ff26499101e01067ddc40a5be545b696f5d481f36c5e0c35c43aebd47cb71"
sha256 "eeafe60278232e4df7e2ced77e8a9cead8032e561488aab8dafb689b77eb636f"
license "MIT"
version "23.6.0"
version "23.6.1"

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.6.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-06T16:31:10Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=23.6.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-08-08T08:13:23Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 9a26e4e

Please sign in to comment.