wp-cli / dist-archive-command

Create a distribution .zip or .tar.gz based on a plugin or theme's .distignore file
https://developer.wordpress.org/cli/commands/dist-archive/
MIT License
47 stars 23 forks source link

Why is not using the symbol - hyphen to separate the name and version? #72

Closed davidperezgar closed 1 year ago

davidperezgar commented 1 year ago

I find the actual structure of name not usual. Now is: plugin-name.1.0.0.zip

The normal structure that you can find anywhere is this: plugin-name-1.0.0.zip

Is anywhere where we could set up this?

danielbachhuber commented 1 year ago

Thanks for the report, @davidperezgar !

Is anywhere where we could set up this?

It's not a user-configurable value at the moment. I'd be open to a [--filename_format=<format>] argument that lets you customize the value, though. It should behave similar to wp export, although I suppose it might have entirely different values.

davidperezgar commented 1 year ago

Thanks @danielbachhuber .

i-am-chitti commented 1 year ago

Hey @danielbachhuber, I would like to contribute to this. Here is my input -

Let me know if this sounds good or some other approach we can think of, I am happy to provide the patch for any of the approaches. Thanks.

danielbachhuber commented 1 year ago

@i-am-chitti Sounds great