Skip to content

Commit 6d5c880

Browse files
authored
Merge pull request #433 from filecoin-project/spikes/release-publishing-paramcache
publish with paramcache
2 parents 59af39a + cafc5a1 commit 6d5c880

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

scripts/publish-release.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,19 @@ fi
2020

2121
echo "preparing release file"
2222

23-
# pack up compiled lib and header
2423
mkdir $RELEASE_PATH
25-
cp target/release/libfilecoin_proofs.a $RELEASE_PATH
26-
cp filecoin-proofs/libfilecoin_proofs.h $RELEASE_PATH
24+
mkdir $RELEASE_PATH/bin
25+
mkdir $RELEASE_PATH/include
26+
mkdir $RELEASE_PATH/lib
27+
28+
cp target/release/paramcache $RELEASE_PATH/bin/
29+
cp filecoin-proofs/libfilecoin_proofs.h $RELEASE_PATH/include/
30+
cp target/release/libfilecoin_proofs.a $RELEASE_PATH/lib/
31+
2732
pushd $RELEASE_PATH
28-
tar -czf $RELEASE_FILE ./libfilecoin_proofs.*
33+
34+
tar -czf $RELEASE_FILE ./*
35+
2936
popd
3037

3138
echo "release file created: $RELEASE_FILE"

0 commit comments

Comments
 (0)