From ee3e09b3528cb9afd168a86f5cdaeeab022585b8 Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Fri, 19 Jul 2024 14:33:27 +0200 Subject: [PATCH] CHanged added read permissions --- .buildkite/pipeline.elastic-agent-package.yml | 2 +- .buildkite/scripts/common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.elastic-agent-package.yml b/.buildkite/pipeline.elastic-agent-package.yml index 4671bec213d..129b8e12a18 100644 --- a/.buildkite/pipeline.elastic-agent-package.yml +++ b/.buildkite/pipeline.elastic-agent-package.yml @@ -115,7 +115,7 @@ steps: buildkite-agent artifact download "build/**/*" . echo "+++ Changing permissions for the release manager" - sudo chmod -R +r build/distributions/ + sudo chmod -R a+r build/distributions/ sudo chown -R :1000 build/distributions/ ls -lahR build/ diff --git a/.buildkite/scripts/common.sh b/.buildkite/scripts/common.sh index 86c370ae360..ff4b890ff39 100644 --- a/.buildkite/scripts/common.sh +++ b/.buildkite/scripts/common.sh @@ -69,7 +69,7 @@ mage() { go(){ # Search for the go in the Path if ! [ -x "$(type -P go | sed 's/go is //g')" ]; - then + then getOSOptions echo "installing golang "${GO_VERSION}" for "${AGENT_OS_NAME}/${AGENT_OS_ARCH}" " local _bin="${WORKSPACE}/bin"