Open mikebrant-xdelivery opened 3 years ago
So the issue seems to be that items in the "current directory" can't be globbed with a pattern of **
.
Going the NOT
pattern in this example...
Have you tried adding a path separator at the end? e.g. **/
If that doesn't work, then maybe try **/*
. This one works as expected in Powershell, though Node Glob might work differently.
My issue seems very similar to this closed issue - https://github.com/semantic-release/github/issues/193 - but since that is closed and a couple of years old I figured it might not be relevant.
Even with debug logging turned on, the logs go silent after this log message - https://github.com/semantic-release/github/blob/master/lib/publish.js#L34 . The draft release is created correctly, we just never seem to make it as far as https://github.com/semantic-release/github/blob/master/lib/publish.js#L56 as we never get any additional debug logging. So it seems perhaps there is an issue with the glob step.
The complete log entries from release that are relevant to github plugin are shown below.
Our
.releaserc.yml
file is as followsNote I am able to make releases by making npm plugin generate a tarball and explicitly using that tarball in
assets
config. So a config like this works.