Skip to content

Add option to web-ext build: --filename="{applications.gecko.id}-{version}.zip" #1335

Closed
@motin

Description

Is this a feature request or a bug?

Feature request

What is the current behavior?

Built files are named according to safeFileName(${extensionName}-${manifestData.version}.zip) without any ability to customize the filename.

What is the expected or desired behavior?

Add a new option like build --filename="some-file.zip". However, to make it useful, it should also accept parameters for substitution, preferably corresponding to manifest contents. Example: web-ext build --filename="%{applications.gecko.id}-%{version}.zip

Originally mentioned here: #855 (comment)

Version information (for bug reports)

web-ext 2.7.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions