Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPFS Deployer possibly duplicates subdirectory paths when deploying #1846

Closed
pileks opened this issue Aug 2, 2023 · 1 comment
Closed

IPFS Deployer possibly duplicates subdirectory paths when deploying #1846

pileks opened this issue Aug 2, 2023 · 1 comment
Assignees

Comments

@pileks
Copy link
Contributor

pileks commented Aug 2, 2023

When deploying using the IPFS deployer, dirs within dirs possibly has an issue wherein subpaths are "multiplied":

Structure of build dir:

├── docs
│   ├── pages
│   │   └── readme.md
│   └── polywrap.docs.json
├── wrap.info
└── wrap.wasm

Structure of deployment to IPFS:
https://ipfs.io/ipfs/QmaG1butqzL7vXqs5hZCkba4LAiGStrh3vx6eKz8sdFfDo/

├── docs
|   |
|   └──docs
│      ├── pages
│      │   └── readme.md
│      └── polywrap.docs.json
├── wrap.info
└── wrap.wasm

Notice the difference in the docs dir - the path to the wrap readme is different:
docs/pages/readme.md - local build dir
vs
docs/docs/pages/readme.md - what's on IPFS

Further investigation warranted.

@dOrgJelli
Copy link
Contributor

This should be fixed within polywrap CLI version 0.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants