From 26e66aa363b4d1b475e25c7ccd23f645b74f1685 Mon Sep 17 00:00:00 2001 From: xiaochenl Date: Tue, 6 Apr 2021 16:08:57 +0800 Subject: [PATCH] fix:Modified the properties of dist folder fix:Modified the properties of dist folder --- .gitignore | 4 +++- scripts/release_binary.sh | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fa61717..1073db2 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,6 @@ testdata/storage imports/imports.go goent.mod -goent.sum \ No newline at end of file +goent.sum +dist +build diff --git a/scripts/release_binary.sh b/scripts/release_binary.sh index b9624ed..005bff7 100644 --- a/scripts/release_binary.sh +++ b/scripts/release_binary.sh @@ -24,8 +24,8 @@ cp ./bin/bitxhub ./build/bitxhub cp ./internal/plugins/build/*.so ./build/ if [ "$(uname)" == "Darwin" ]; then cd "${BUILD_PATH}" && tar zcvf bitxhub_macos_x86_64_v"${APP_VERSION}".tar.gz ./bitxhub ./raft.so ./solo.so ./libwasmer.dylib - mv ./*.tar.gz ../.dist/ + mv ./*.tar.gz ../dist/ else cd "${BUILD_PATH}" && tar zcvf bitxhub_linux-amd64_v"${APP_VERSION}".tar.gz ./bitxhub ./*.so - mv ./*.tar.gz ../.dist/ + mv ./*.tar.gz ../dist/ fi