mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-21 17:26:55 +01:00
add current version to IPFS, only keep history file
This commit is contained in:
parent
6cddd64a14
commit
4232628951
7
ipfs.sh
7
ipfs.sh
@ -3,7 +3,7 @@
|
|||||||
# Script to put current build output onto IPFS.
|
# Script to put current build output onto IPFS.
|
||||||
# adapted from https://github.com/kremalicious/ipfs-hosting/blob/master/deploy.sh
|
# adapted from https://github.com/kremalicious/ipfs-hosting/blob/master/deploy.sh
|
||||||
#
|
#
|
||||||
# requires ipfs to be installed and running `ipfs daemon`
|
# requires IPFS to be installed, and running `ipfs daemon`
|
||||||
|
|
||||||
FOLDER="./_dist"
|
FOLDER="./_dist"
|
||||||
IPFSLOCAL="http://localhost:8080"
|
IPFSLOCAL="http://localhost:8080"
|
||||||
@ -28,11 +28,6 @@ cat <<EOF >> versions/history
|
|||||||
$HASH
|
$HASH
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# overwrite versions/current
|
|
||||||
cat <<EOF > versions/current
|
|
||||||
$HASH
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# purrrrge
|
# purrrrge
|
||||||
rm publish.log
|
rm publish.log
|
||||||
|
|
||||||
|
1
versions/history
Normal file
1
versions/history
Normal file
@ -0,0 +1 @@
|
|||||||
|
QmRe4gKLecQychqsiwmtjSocN444Mi3eBcV3qcfDAH1reN
|
Loading…
Reference in New Issue
Block a user