mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-04 07:10:21 +00:00
feat: fix trust-graph package (#98)
This commit is contained in:
parent
56d0ea27bd
commit
a8fdb4472e
@ -3,10 +3,10 @@ set -o pipefail -o nounset -o errexit
|
||||
|
||||
# set current working directory to script directory to run script from everywhere
|
||||
cd "$(dirname "$0")"
|
||||
PACKAGE_DIR="$(pwd)/../package"
|
||||
PACKAGE_DIR="$(pwd)/../package/trust-graph"
|
||||
|
||||
(
|
||||
rm -f $PACKAGE_DIR/*
|
||||
rm -rf $PACKAGE_DIR/*
|
||||
mkdir -p $PACKAGE_DIR
|
||||
)
|
||||
|
||||
@ -34,8 +34,8 @@ echo "{}" | jq --arg trust_graph_cid "$TRUST_GRAPH_CID" --arg sqlite_cid "$SQLIT
|
||||
|
||||
(
|
||||
echo "*** create builtin distribution package ***"
|
||||
cd $PACKAGE_DIR
|
||||
(tar cf - * | gzip) > ../trust-graph.tar.gz
|
||||
cd $PACKAGE_DIR/..
|
||||
tar -f trust-graph.tar.gz -zcv ./trust-graph
|
||||
)
|
||||
|
||||
echo "*** done ***"
|
||||
|
@ -18,5 +18,5 @@ ref-cast = "1.0.2"
|
||||
derivative = "2.1.1"
|
||||
thiserror = "1.0.23"
|
||||
sha2 = "0.10.6"
|
||||
nonempty = "0.8.1"
|
||||
rand = "0.8.5"
|
||||
nonempty = "0.8.1"
|
||||
|
Loading…
Reference in New Issue
Block a user