Skip to content

Commit

Permalink
Merge pull request #968 from wso2/revert-967-arm64-support
Browse files Browse the repository at this point in the history
Revert "Build ARM64 binary and rename final ZIP file name"
  • Loading branch information
npamudika authored Feb 7, 2023
2 parents b08769b + 5bd4df6 commit 5fd797d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions import-export-cli/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
set -e

function showUsageAndExit() {
echo "Insufficient or invalid options provided"
Expand Down Expand Up @@ -88,8 +87,7 @@ fi
if [ "${full_build}" == "true" ]; then
# the following line give an error in MacOS
# echo "Building "$'\e[1m'"${filename^^}:${build_version}"$'\e[0m'" for all platforms..."
# string format: {GOOS}/{GOARCH}/{ZIP_FILE_OS_NAME}/{ZIP_FILE_ARCH_NAME}
platforms="darwin/amd64/darwin/amd64 darwin/arm64/darwin/arm64 linux/386/linux/i586 linux/arm64/linux/arm64 linux/amd64/linux/amd64 windows/386/windows/i586 windows/amd64/windows/x64"
platforms="darwin/amd64/macosx/x64 linux/386/linux/i586 linux/amd64/linux/x64 windows/386/windows/i586 windows/amd64/windows/x64"
else
detectPlatformSpecificBuild
echo "Building "$'\e[1m'"${filename^^}:${build_version}"$'\e[0m'" for detected "$'\e[1m'"${platform}"$'\e[0m'" platform..."
Expand Down

0 comments on commit 5fd797d

Please sign in to comment.