Skip to content

Add option to overwrite the zip file #99

Description

@amenk

Feature Request

Describe your use case and the problem you are facing

Steps to reproduce:

  1. wp dist-archive .
  2. Add an additional file manually to the dist archive (in real life, my build script added additional files I did not expect)
  3. call wp dist-archive . again
  4. The additional files are still in the ZIP - it's not created freshly

Describe the solution you'd like

When the dist archive already exists, it seems to not be recreated. An --overwrite option to fully recreate the ZIP would be good.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions