-
Notifications
You must be signed in to change notification settings - Fork 24
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
Documentation request: how to compress to a file within plugin folder #90
Comments
Try:
|
Hmm... that's throwing an error
|
Ah, there hasn’t been a tagged release since before that was added. If you’re installing with Composer, use https://github.com/wp-cli/dist-archive-command/releases |
@helgatheviking If you run the command staying at the plugin path then that parameter is not needed. Try following:
|
Thank you @BrianHenryIE and @ernilambar ! |
I just tagged 3.0.0: https://github.com/wp-cli/dist-archive-command/releases/tag/v3.0.0 |
Great. That also helps in: 10up/action-wordpress-plugin-deploy#139 (comment) |
I keep trying
wp dist-archive . deploy/ --create-target-dir
and variations therefore but I can't seem to get the zip archive to get compressed tomycoolplugin/deploy/mycoolplugin-1.0.0.zip
it ends up generated asdeploy.zip
instead. I assume this is a path mistake I'm making but it would be nice to see an example in the docu.The text was updated successfully, but these errors were encountered: