fix:Modified the properties of dist folder
fix:Modified the properties of dist folder
This commit is contained in:
parent
2255377814
commit
26e66aa363
|
@ -27,4 +27,6 @@ testdata/storage
|
||||||
|
|
||||||
imports/imports.go
|
imports/imports.go
|
||||||
goent.mod
|
goent.mod
|
||||||
goent.sum
|
goent.sum
|
||||||
|
dist
|
||||||
|
build
|
||||||
|
|
|
@ -24,8 +24,8 @@ cp ./bin/bitxhub ./build/bitxhub
|
||||||
cp ./internal/plugins/build/*.so ./build/
|
cp ./internal/plugins/build/*.so ./build/
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
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
|
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
|
else
|
||||||
cd "${BUILD_PATH}" && tar zcvf bitxhub_linux-amd64_v"${APP_VERSION}".tar.gz ./bitxhub ./*.so
|
cd "${BUILD_PATH}" && tar zcvf bitxhub_linux-amd64_v"${APP_VERSION}".tar.gz ./bitxhub ./*.so
|
||||||
mv ./*.tar.gz ../.dist/
|
mv ./*.tar.gz ../dist/
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue