add current version to IPFS, only keep history file

This commit is contained in:
Matthias Kretschmann 2017-08-14 20:27:48 +02:00
parent 6cddd64a14
commit 4232628951
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# Script to put current build output onto IPFS.
# 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"
IPFSLOCAL="http://localhost:8080"
@ -28,11 +28,6 @@ cat <<EOF >> versions/history
$HASH
EOF
# overwrite versions/current
cat <<EOF > versions/current
$HASH
EOF
# purrrrge
rm publish.log

1
versions/history Normal file
View File

@ -0,0 +1 @@
QmRe4gKLecQychqsiwmtjSocN444Mi3eBcV3qcfDAH1reN