From c55f40cae91f9e652f94c7acd8caba71bdb09657 Mon Sep 17 00:00:00 2001 From: Jason Paul Deland <9366595+jaydeland@users.noreply.github.com> Date: Sat, 17 Oct 2020 11:43:53 -0400 Subject: [PATCH] MMCTL download migration to S3 location (#15993) * Update to get latest release from S3 * Update mmctl to download to use S3 * Download MMCTL from S3 * Update download_mmctl_release.sh * Update Makefile * Update release.mk * Update the script called, remove call to sub shell and clean up indentation * Add quotes around THIS_BRANCH var * Update script to support overriding the OS for packaging * Add check for release- to better match the branch Co-authored-by: Mattermod --- scripts/download_mmctl_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download_mmctl_release.sh b/scripts/download_mmctl_release.sh index d9534a4108..d15b9c7ae3 100755 --- a/scripts/download_mmctl_release.sh +++ b/scripts/download_mmctl_release.sh @@ -15,7 +15,7 @@ fi # strip whitespace THIS_BRANCH=$(git rev-parse --abbrev-ref HEAD) -if [[ "$THIS_BRANCH" =~ 'release-' ]]; +if [[ "$THIS_BRANCH" =~ 'release-'[0-9] ]]; then RELEASE_TO_DOWNLOAD="$THIS_BRANCH" else