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

azcopy 10.21.0 #146964

Merged
merged 2 commits into from
Sep 29, 2023
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
12 changes: 9 additions & 3 deletions Formula/a/azcopy.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Azcopy < Formula
desc "Azure Storage data transfer utility"
homepage "https://github.com/Azure/azure-storage-azcopy"
url "https://github.com/Azure/azure-storage-azcopy/archive/refs/tags/v10.20.1.tar.gz"
sha256 "c9d5ba8e81eff6820d8d6b6797461fdbb772616f5eae913e6c6c4a7b2fd78ec0"
url "https://github.com/Azure/azure-storage-azcopy/archive/refs/tags/v10.21.0.tar.gz"
sha256 "a7a81921ac48aa6663912e498ee578cc62a09161f7523ce8019fe341d6ea7922"
license "MIT"

livecheck do
Expand All @@ -24,8 +24,14 @@ class Azcopy < Formula

depends_on "go" => :build

# Build patch, upstream ref, https://github.com/Azure/azure-storage-azcopy/pull/2393
patch do
url "https://github.com/Azure/azure-storage-azcopy/commit/99f2bd8af8d55cbc2cba7320636af880f2e84955.patch?full_index=1"
sha256 "6142ddf542b8f9ae1b92095c93402e00883b266099b1f17e1f0779ce2628c580"
end

def install
system "go", "build", *std_go_args
system "go", "build", *std_go_args(ldflags: "-s -w")

generate_completions_from_executable(bin/"azcopy", "completion")
end
Expand Down
Loading