publish the test mirror hash to ipns

This commit is contained in:
Leo Arias 2017-12-06 15:35:12 -06:00 committed by GitHub
parent ab84a237e1
commit 7fe7836cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -11,4 +11,5 @@ wget --directory-prefix=test-archive/dists/xenial/main/binary-amd64/ http://arch
wget --directory-prefix=test-archive/dists/xenial/main/i18n/ http://archive.ubuntu.com/ubuntu/dists/xenial/main/i18n/Translation-en.xz
wget --directory-prefix=test-archive/pool/main/h/hello/ http://archive.ubuntu.com/ubuntu/pool/main/h/hello/hello_2.10-1_amd64.deb

ipfs add --recursive ~/test-archive
hash="$(ipfs add --quiet --recursive test-archive | tail -n1)"
ipfs name publish "$hash"