Skip to content

Commit

Permalink
minio-mc: support go 1.17
Browse files Browse the repository at this point in the history
Closes #83990.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
branchvincent authored and BrewTestBot committed Aug 26, 2021
1 parent 1173225 commit 7ecef65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/minio-mc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ class MinioMc < Formula

conflicts_with "midnight-commander", because: "both install an `mc` binary"

# Support go 1.17, remove after next release
patch do
url "https://github.com/minio/mc/commit/855333e4ab24804dd3dcd38988ceaed112ee62f9.patch?full_index=1"
sha256 "c00d331fd8d420105356d004aeecd17ef4c6332796f53a3e547218b4de7dbd41"
end

def install
if build.head?
system "go", "build", "-trimpath", "-o", bin/"mc"
Expand Down

0 comments on commit 7ecef65

Please sign in to comment.