Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
Brew formula update for tenv version v1.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
goreleaserbot committed May 2, 2024
1 parent a333680 commit e8fae0b
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions Formula/tenv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

# This file was generated by GoReleaser. DO NOT EDIT.
class Tenv < Formula
desc "OpenTofu / Terraform / Terragrunt version manager"
desc "OpenTofu and Terraform version manager (inspired by tofuenv, written in Go)"
homepage "https://github.com/tofuutils/tenv"
version "1.10.0"
version "1.10.1"
license "Apache-2.0"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/tofuutils/tenv/releases/download/v1.10.0/tenv_v1.10.0_Darwin_x86_64.tar.gz"
sha256 "1d13852b56b762353a28173400000dbf708ae6d5d6473353d2c26ab6b10e45de"
url "https://github.com/tofuutils/tenv/releases/download/v1.10.1/tenv_v1.10.1_Darwin_x86_64.tar.gz"
sha256 "563157e6636b6e573f29a6cee53508552c5de0a8093217155a92035143cf3c72"

def install
bin.install "tenv"
Expand All @@ -22,8 +22,8 @@ def install
end
end
if Hardware::CPU.arm?
url "https://github.com/tofuutils/tenv/releases/download/v1.10.0/tenv_v1.10.0_Darwin_arm64.tar.gz"
sha256 "2db97de86f63c25c83791ac660b5076a5fa220aec254b5b92c96a4c7ee17340f"
url "https://github.com/tofuutils/tenv/releases/download/v1.10.1/tenv_v1.10.1_Darwin_arm64.tar.gz"
sha256 "4808a9dccf92116c0cc6c103bb9d232fa55cb635da532b1c36aafd698c005bb5"

def install
bin.install "tenv"
Expand All @@ -37,8 +37,8 @@ def install

on_linux do
if Hardware::CPU.intel?
url "https://github.com/tofuutils/tenv/releases/download/v1.10.0/tenv_v1.10.0_Linux_x86_64.tar.gz"
sha256 "7ceb2eefbdf08fc7326118b685de7f3ff0c02eaa61f0ec61b4b49d6ab55e42db"
url "https://github.com/tofuutils/tenv/releases/download/v1.10.1/tenv_v1.10.1_Linux_x86_64.tar.gz"
sha256 "5d43ebd9ba26f3ecd8471b0528b6ee3f976aa6b937b1bd4a4b75c84efb448ebe"

def install
bin.install "tenv"
Expand All @@ -49,8 +49,8 @@ def install
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/tofuutils/tenv/releases/download/v1.10.0/tenv_v1.10.0_Linux_armv6.tar.gz"
sha256 "67092829df6c4829be06837f71fb7faedef0701bfc958d240611ef2be31abc49"
url "https://github.com/tofuutils/tenv/releases/download/v1.10.1/tenv_v1.10.1_Linux_armv6.tar.gz"
sha256 "89cd3a8897e6df96afa709d6ff80f569f7e8848d4df77afa3c81148aa3994bc2"

def install
bin.install "tenv"
Expand All @@ -61,8 +61,8 @@ def install
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/tofuutils/tenv/releases/download/v1.10.0/tenv_v1.10.0_Linux_arm64.tar.gz"
sha256 "1868e60775a1c1f41b502930ac921cf1cce2c94e0d67f0b12db6eadbb7c7a56e"
url "https://github.com/tofuutils/tenv/releases/download/v1.10.1/tenv_v1.10.1_Linux_arm64.tar.gz"
sha256 "14c62e4b7f0cee090176e0b712d23a43df72d13b66ed5cb8b82c7d94932e1844"

def install
bin.install "tenv"
Expand All @@ -73,9 +73,4 @@ def install
end
end
end

test do
assert_match "1.6.2", shell_output("#{bin}/tenv tofu list-remote")
assert_match version.to_s, shell_output("#{bin}/tenv --version")
end
end

0 comments on commit e8fae0b

Please sign in to comment.