go get on the remote mac instance installs with read-only, allow for … (#10351)

* go get on the remote mac instance installs with read-only, allow for rm step

* Update scripts/release/mac-remote-build

Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>

Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
This commit is contained in:
Drew Bailey 2021-04-09 15:50:27 -04:00 committed by GitHub
parent 37f1c37fab
commit e1eb824b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -90,4 +90,5 @@ EOF
echo '=======>>>> Retrieving mac compiled binaries'
rsync -avz --ignore-existing ${remote_macos_host}:"${REPO_REMOTE_PATH}/pkg/" "${REPO}/pkg"
ssh ${remote_macos_host} rm -rf "${TMP_WORKSPACE}"
ssh ${remote_macos_host} chmod -R +w "${TMP_WORKSPACE}" || true
ssh ${remote_macos_host} rm -rf "${TMP_WORKSPACE}" || true