From 4d910087ebce7db4607d0213a9f9a9ff72d7a356 Mon Sep 17 00:00:00 2001 From: Jerome Gravel-Niquet Date: Wed, 20 Jun 2018 16:34:58 -0400 Subject: [PATCH] overwriting makes the most sense, removing not so much --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index bdb15e4c..a6c9e175 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -125,12 +125,12 @@ mc config host add s3 https://s3.amazonaws.com $AWS_S3_ACCESS_KEY_ID $AWS_S3_SEC echo "Pushing to s3/flyio-wormhole-builds/$VERSION/" -mc -q mirror --remove --overwrite pkg/ s3/flyio-wormhole-builds/$VERSION +mc -q mirror --overwrite pkg/ s3/flyio-wormhole-builds/$VERSION echo "Pushing to s3/flyio-wormhole-builds/$CHANNEL/" # also set the version as the latest # TODO: there must be a better way to copy/symlink objects in S3 instead of uploading again -mc -q mirror --remove --overwrite pkg/ s3/flyio-wormhole-builds/$CHANNEL +mc -q mirror --overwrite pkg/ s3/flyio-wormhole-builds/$CHANNEL echo "Building and pushing to Docker Hub"