fix:Modified the properties of dist folder

fix:Modified the properties of dist folder
This commit is contained in:
xiaochenl 2021-04-06 16:08:57 +08:00
parent 2255377814
commit 26e66aa363
2 changed files with 5 additions and 3 deletions

4
.gitignore vendored
View File

@ -27,4 +27,6 @@ testdata/storage
imports/imports.go
goent.mod
goent.sum
goent.sum
dist
build

View File

@ -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