Hi there, thanks for the great project!
I have the following files:
dist/file1-v1.0.0.zip
dist/file1-v1.0.1.zip
dist/file1-v1.1.0.zip
...etc
I wanted to attach the last generated file on the release in question. For that, I had this configuration:
[
"@semantic-release/github",
{
"assets": "dist/*.zip"
}
]
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:
[
"@semantic-release/github",
{
"assets": "dist/*${nextRelease.version}.zip"
}
]
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!
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!