FR: Define some common lodash templates for asset naming
melink14 opened this issue · 2 comments
FR: Define some common lodash templates for asset namin
- I have searched the issues of this repository and believe that this is not a duplicate.
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
This is less important for me since I saw github extension takes a separate name argument which allows using lodash templates.
🎉 This issue has been resolved in version 3.1.0 🎉
The release is available on:
Your semantic-release bot 📦🚀