Skip to content

Commit

Permalink
mongodb-atlas-cli 1.16.0
Browse files Browse the repository at this point in the history
mongodb-atlas-cli: update build

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Mar 7, 2024
1 parent d2bb8dc commit 26313a1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Formula/m/mongodb-atlas-cli.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class MongodbAtlasCli < Formula
desc "Atlas CLI enables you to manage your MongoDB Atlas"
homepage "https://www.mongodb.com/docs/atlas/cli/stable/"
url "https://github.com/mongodb/mongodb-atlas-cli/archive/refs/tags/atlascli/v1.15.1.tar.gz"
sha256 "ced26bbf859750e11002c400af6028c19c4c949f4b3919cdabaf2b07a39a5489"
url "https://github.com/mongodb/mongodb-atlas-cli/archive/refs/tags/atlascli/v1.16.0.tar.gz"
sha256 "a36a48db85e545f0ad579cfaa47489f1d5b7f7eadd4e165bf0a1a4ca3a80362c"
license "Apache-2.0"
head "https://github.com/mongodb/mongodb-atlas-cli.git", branch: "master"

Expand All @@ -26,12 +26,10 @@ class MongodbAtlasCli < Formula
depends_on "podman"

def install
with_env(
ATLAS_VERSION: version.to_s,
MCLI_GIT_SHA: "homebrew-release",
) do
system "make", "build-atlascli"
end
ENV["ATLAS_VERSION"] = version.to_s
ENV["MCLI_GIT_SHA"] = "homebrew-release"

system "make", "build"
bin.install "bin/atlas"

generate_completions_from_executable(bin/"atlas", "completion", base_name: "atlas")
Expand Down

0 comments on commit 26313a1

Please sign in to comment.