From 0d9abbe928bccb3eda9a954d6015a6d2bdd1376b Mon Sep 17 00:00:00 2001 From: Allen Lyons Date: Wed, 1 Jun 2022 13:54:18 -0400 Subject: [PATCH] fixed makefile --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e739794..919fa71 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ PACKAGES := $(shell go list ./... | grep -v /mock) BUILD_VERSION := $(shell git describe --tags) +AWS_DEFAULT_REGION := us-east-1 mocks: go mod vendor @@ -25,13 +26,13 @@ dist: prerelease: gh release create ${BUILD_VERSION} --generate-notes --prerelease dist/* - aws s3 cp dist/ s3://get-fargate.turnerlabs.io/${BUILD_VERSION}/ --recursive - echo ${BUILD_VERSION} > develop && aws s3 cp ./develop s3://get-fargate.turnerlabs.io/ + aws s3 cp dist/ s3://get-fargate.turnerlabs.io/${BUILD_VERSION}/ --recursive --region ${AWS_DEFAULT_REGION} + echo ${BUILD_VERSION} > develop && aws s3 cp ./develop s3://get-fargate.turnerlabs.io/ --region ${AWS_DEFAULT_REGION} release: gh release create ${BUILD_VERSION} --generate-notes dist/* - aws s3 cp dist/ s3://get-fargate.turnerlabs.io/${BUILD_VERSION}/ --recursive - echo ${BUILD_VERSION} > master && aws s3 cp ./master s3://get-fargate.turnerlabs.io/ + aws s3 cp dist/ s3://get-fargate.turnerlabs.io/${BUILD_VERSION}/ --recursive --region ${AWS_DEFAULT_REGION} + echo ${BUILD_VERSION} > master && aws s3 cp ./master s3://get-fargate.turnerlabs.io/ --region ${AWS_DEFAULT_REGION} clean: rm -f fargate