Closed melink14 closed 2 years ago
This is less important for me since I saw github extension takes a separate name argument which allows using lodash templates.
:tada: This issue has been resolved in version 3.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
FR: Define some common lodash templates for asset namin
What you did and problem description
I would like to include version number in my zip file asset (since it will also be published to github) but depending on the environment that's not easy to do. (ex extensionname_v1.1.1.zip
What happened
Right now it doesn't support templating so I got extensionname_${nextRelease.version}.zip as the file name.
Suggested solution
I think supporting lodash templates like many of the other semantic relaese plugins should be easy enough: Here's an example from git plugin: https://github.com/semantic-release/git/blob/11ef559f896fa110dfe9606cfab52e0b47ed48b4/lib/prepare.js#L65