From ffa97dbbdd6d766c86d6ce40420b40d09de5cd87 Mon Sep 17 00:00:00 2001 From: Frantisek Hartman Date: Mon, 23 Oct 2023 12:24:09 +0200 Subject: [PATCH 1/2] Build dmt tool for all supported platforms --- build_dmt.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_dmt.sh b/build_dmt.sh index b743241ea..041521adb 100755 --- a/build_dmt.sh +++ b/build_dmt.sh @@ -1 +1,6 @@ -BINARY_NAME=dmt MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt \ No newline at end of file +GOOS=linux GOARCH=amd64 BINARY_NAME=dmt_linux_amd64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=linux GOARCH=arm64 BINARY_NAME=dmt_linux_arm64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=darwin GOARCH=amd64 BINARY_NAME=dmt_darwin_amd64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=darwin GOARCH=arm64 BINARY_NAME=dmt_darwin_arm64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=windows GOARCH=amd64 BINARY_NAME=dmt_windows_amd64.exe MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt + From de64876a7580b4afd5eaa9c7209164a9af689130 Mon Sep 17 00:00:00 2001 From: Frantisek Hartman Date: Fri, 3 Nov 2023 11:28:24 +0100 Subject: [PATCH 2/2] Create new file release_dmt.sh instead of modifying build_dmt.sh --- build_dmt.sh | 6 +----- release_dmt.sh | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100755 release_dmt.sh diff --git a/build_dmt.sh b/build_dmt.sh index 041521adb..240e07a4b 100755 --- a/build_dmt.sh +++ b/build_dmt.sh @@ -1,6 +1,2 @@ -GOOS=linux GOARCH=amd64 BINARY_NAME=dmt_linux_amd64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt -GOOS=linux GOARCH=arm64 BINARY_NAME=dmt_linux_arm64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt -GOOS=darwin GOARCH=amd64 BINARY_NAME=dmt_darwin_amd64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt -GOOS=darwin GOARCH=arm64 BINARY_NAME=dmt_darwin_arm64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt -GOOS=windows GOARCH=amd64 BINARY_NAME=dmt_windows_amd64.exe MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +BINARY_NAME=dmt MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt diff --git a/release_dmt.sh b/release_dmt.sh new file mode 100755 index 000000000..041521adb --- /dev/null +++ b/release_dmt.sh @@ -0,0 +1,6 @@ +GOOS=linux GOARCH=amd64 BINARY_NAME=dmt_linux_amd64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=linux GOARCH=arm64 BINARY_NAME=dmt_linux_arm64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=darwin GOARCH=amd64 BINARY_NAME=dmt_darwin_amd64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=darwin GOARCH=arm64 BINARY_NAME=dmt_darwin_arm64 MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +GOOS=windows GOARCH=amd64 BINARY_NAME=dmt_windows_amd64.exe MAIN_CMD_HELP='Hazelcast Data Migration Tool' make build-dmt +