Skip to content

Commit

Permalink
fix(make): correctly infer ipns name from record filename
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Dec 12, 2023
1 parent 4760ba7 commit 193833b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ provision-cargateway: ./fixtures.car

provision-kubo:
find ./fixtures -name '*.car' -exec ipfs dag import --stats --pin-roots=false {} \;
find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --allow-offline /ipns/$$(basename -s .ipns-record "{}") "{}"' \;
find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --allow-offline /ipns/$$(basename -s .ipns-record "{}" | cut -d'_' -f1) "{}"' \;

# tools
fixtures.car: gateway-conformance
Expand Down

0 comments on commit 193833b

Please sign in to comment.