Skip to content

Commit

Permalink
Brew formula update for enapter-cli version v3.0.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
goreleaserbot committed Oct 16, 2024
1 parent 819b3bd commit e1c8e7f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# typed: false

Check failure on line 1 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-latest)

Stable: version 3.0.0-alpha is redundant with version scanned from URL
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class EnapterAT3 < Formula
desc "Command-line tool for Enapter Energy Management System Toolkit"
homepage "https://github.com/Enapter/enapter-cli"
version "3.0.0-alpha"

on_macos do
on_intel do
url "https://github.com/enapter/enapter-cli/releases/download/v3.0.0-alpha/enapter-cli-3.0.0-alpha-darwin-amd64.tar.gz"
sha256 "8cdc75dd210ee6184b1d24aad5ecad34ca425e0e945c0d3ce572b244a5f592d2"

def install
bin.install "enapter"
end
end
on_arm do
url "https://github.com/enapter/enapter-cli/releases/download/v3.0.0-alpha/enapter-cli-3.0.0-alpha-darwin-arm64.tar.gz"
sha256 "533c1700ed39ead96a4925bf8fe734ebc5df30d57769e0724319345b2ceb9b5a"

def install
bin.install "enapter"
end
end
end

on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/enapter/enapter-cli/releases/download/v3.0.0-alpha/enapter-cli-3.0.0-alpha-linux-amd64.tar.gz"
sha256 "29b2febbc854846a5d682d9f8b908ebdfba02ae3f0a4aa6afad7d6c79318c5ec"

def install
bin.install "enapter"
end
end
end
end

test do
assert_match "Enapter CLI #{version}", shell_output("#{bin}/enapter --version")
end
end

0 comments on commit e1c8e7f

Please sign in to comment.