-
Notifications
You must be signed in to change notification settings - Fork 357
Add option to web-ext build: --filename="{applications.gecko.id}-{version}.zip" #1335
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
Comments
Any updates on this feature? Would love to have it :) |
Patches are welcome. This is also relatively simple to implement, forward a command-line parameter to Line 147 in 1e6e51b
and add some unit tests. |
@Rob--W sounds good to you if I assign you as mentor for this bug? |
Yeah, I will mentor this bug. |
Since |
Filesystems on Windows have the most restrictions: https://docs.microsoft.com/en-us/windows/win32/msi/filename |
I would be happy to work on this feature if that's possible! |
- Supports template filename (e.g. --filename "{applications.gecko.id}-v{version}.zip") - Fixes #1335
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
The text was updated successfully, but these errors were encountered: