File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,11 +80,25 @@ case "$BUILD_OS_NAME" in
8080 echo Uploading linux artifacts...
8181 create_dir linux
8282
83+ HOST_ARCH=" $( uname -m) "
84+ case " $HOST_ARCH " in
85+ x86_64)
86+ BUILD_ARCH=" x86_64"
87+ ;;
88+ aarch64|arm64)
89+ BUILD_ARCH=" aarch64"
90+ ;;
91+ * )
92+ echo " Unsupported architecture: $arch "
93+ exit 1
94+ ;;
95+
96+
8397 # Upload packages / source only for release build
8498 if [ " $DEBUG " != " true" ]; then
8599 upload_files " deadbeef-*.tar.bz2" linux
86- upload_files " package_out/x86_64 /debian/*.deb" linux
87- upload_files " package_out/x86_64 /arch/*.pkg.tar.xz" linux
100+ upload_files " package_out/$BUILD_ARCH /debian/*.deb" linux
101+ upload_files " package_out/$BUILD_ARCH /arch/*.pkg.tar.xz" linux
88102 fi
89103 # This will match the build tarballs and debug symbols
90104 upload_files " portable_out/build/*.tar.bz2" linux
You can’t perform that action at this time.
0 commit comments