mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
chore(build): allow darwin binaries download [EE-2070] (#6120)
This commit is contained in:
parent
d091b343b9
commit
0928d1832d
4 changed files with 13 additions and 9 deletions
|
@ -10,6 +10,10 @@ if [ "${PLATFORM}" == 'linux' ]; then
|
|||
wget -qO- "https://get.helm.sh/${HELM_DIST}.tar.gz" | tar -x -z --strip-components 1 "${PLATFORM}-${ARCH}/helm"
|
||||
mv "helm" "dist/helm"
|
||||
chmod +x "dist/helm"
|
||||
elif [ "${PLATFORM}" == 'darwin' ]; then
|
||||
wget -qO- "https://get.helm.sh/helm-canary-darwin-amd64.tar.gz" | tar -x -z --strip-components 1 "darwin-amd64/helm"
|
||||
mv "helm" "dist/helm"
|
||||
chmod +x "dist/helm"
|
||||
elif [ "${PLATFORM}" == 'windows' ]; then
|
||||
wget -q -O tmp.zip "https://get.helm.sh/${HELM_DIST}.zip" && unzip -o -j tmp.zip "${PLATFORM}-${ARCH}/helm.exe" -d dist && rm -f tmp.zip
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue