Skip to content

Commit

Permalink
feat: Formula v18.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Oct 14, 2023
1 parent 5965a81 commit 2d43307
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,10 +2,10 @@
desc "Prompt theme engine for any shell"
homepage "https://ohmyposh.dev"
arch arm: "arm64", intel: "amd64"
version "18.12.0"
version "18.13.0"
url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}"
sha256 arm: "69791c74e0972dd9ac3ce007bd3d333ffbb998c54d43be40eec13c186004a3e9",
intel: "a4ed5e766faead0a3594acd6394232482b8fd06b58be13df3bbe864d382be9df"
sha256 arm: "be98bcb9d97cb6cc48df1ffe22b546540d7d90312bb20f805fcd74720453d4da",
intel: "03a45fef44d6f60e1f651b4bb80974374c2a8857d0080c54c8556863c44eb52c"
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/v18.12.0.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.13.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "46e0d45472df76fc7a7c8c66910de795072d622292467d9c0803b9a210cbaabc"
sha256 "3e7f3345a0dbb4fc0458b14b03966ce6db5cf20abda873f29fb71600e4a84e81"
license "MIT"
version "18.12.0"
version "18.13.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=18.12.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-12T16:57:15Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.13.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-10-14T07:11:10Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 2d43307

Please sign in to comment.