Skip to content

DOCS: Update zip name #198

Open
Open
@AntoninoBonanno

Description

@AntoninoBonanno

In the documentation the zip name is my-plugin.zip (<slug>.zip)

* Create a zip file for the plugin (/tmp/wp-release/my-plugin.zip)

but inside code and test the name of zip is package.zip

wordpress/lib/publish.ts

Lines 20 to 28 in e8b42e5

const packageResult = await execa(
zipCommand,
['-qr', path.join(releaseDir, `package.zip`), config.slug],
{
reject: false,
cwd: config.releasePath,
timeout: 30 * 1000,
},
);

expect(files).toContain('package.zip');

and actually the name of the generated zip file is package.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions