Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongodb-atlas-cli 1.16.0 #165382

Merged
merged 2 commits into from
Mar 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading