From 42326289513b0e4622d30a3c7cf108ec6a6256ca Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 14 Aug 2017 20:27:48 +0200 Subject: [PATCH] add current version to IPFS, only keep history file --- ipfs.sh | 7 +------ versions/history | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 versions/history diff --git a/ipfs.sh b/ipfs.sh index 501a0cb..2f93d5d 100755 --- a/ipfs.sh +++ b/ipfs.sh @@ -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 <> versions/history $HASH EOF -# overwrite versions/current -cat < versions/current -$HASH -EOF - # purrrrge rm publish.log diff --git a/versions/history b/versions/history new file mode 100644 index 0000000..e210c56 --- /dev/null +++ b/versions/history @@ -0,0 +1 @@ +QmRe4gKLecQychqsiwmtjSocN444Mi3eBcV3qcfDAH1reN