-
Notifications
You must be signed in to change notification settings - Fork 134
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
Can I use the templates in asset's path config? #274
Comments
I don't know out of my head. But I think @coderbyheart implemented the file templates feature. Maybe he can help? |
No, you can't use the template strings when resolving files, because they are not replaced and passed verbatim: Lines 51 to 60 in 32654fb
I recommend to store assets with an unversioned name define individual asset entries, with a name property that contains the desired name. Here is an example of how I use it in a project: https://github.com/bifravst/firmware/blob/8632a44c5201c24c554c06861cbb32db11682b26/package.json#L44-L90 |
I'm looking at releasing apps bundled with |
@gr2m would you be opposed to a PR to also call |
Or I guess making an unversioned symlink to the versioned filename would be palatable. I don't get the reasoning behind intentionally not supporting parameterized filenames though. Seems highly unlikely that someone would put literal |
@jedwards1211 if it helps, here is what I did to get it working in the mean time. Follow the advice from @coderbyheart and add Rename the file that |
Why is it not consistent with GitLab's implementation? If the intention is to not support templates for paths, it should at least be mentioned in the documentation, which has cost me a whole day. https://github.com/semantic-release/gitlab/pull/630/files |
Hi there, thanks for the great project!
I have the following files:
I wanted to attach the last generated file on the release in question. For that, I had this configuration:
With the config above, all my files in
dist/
folder were getting attached to each release in Github's release page. So far so good, it was working as expected and it was a silly mistake of mine.Then I tried to fix it by doing the following:
But it didn't work -- no assets were attached to the next release. Am I missing something? Are templates even supported in
path
?Thank you!
The text was updated successfully, but these errors were encountered: