TUN-4875: Added amd64-linux builds back to releases

This commit is contained in:
Sudarsan Reddy 2021-08-04 08:18:43 +01:00
parent d9ec18314d
commit fac9dfb6e5
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,7 @@ done
export FIPS=true
linuxArchs=("amd64" "386" "arm")
linuxArchs=("amd64" "386" "arm" "arm64")
export TARGET_OS=linux
for arch in ${linuxArchs[@]}; do
export TARGET_ARCH=$arch
@ -28,6 +28,9 @@ for arch in ${linuxArchs[@]}; do
if [ $arch == "amd64" ];then
RPMARCH="x86_64"
fi
if [ $arch == "arm64" ]; then
RPMARCH="aarch64"
fi
make cloudflared-rpm
mv cloudflared-$RPMVERSION-1.$RPMARCH.rpm $ARTIFACT_DIR/cloudflared-linux-$RPMARCH.rpm