Open nyan-left opened 2 months ago
Update:
I fixed this by tweaking my directoryPath
:
"directoryPath": "../../docs/**/*",
(monorepo setup)
This does however break removeDirectoryRoot
. In addition, it seems that my bucket directories are being ignored:
"s3Bucket": {
"main": "my-docs/prod",
"beta": "my-docs/beta",
},
Files get uploaded to mydocs/docs
instead of mydocs/prod
.
I suspect making use of cwd
would fix the pathing issues.
https://github.com/semantic-release/semantic-release/blob/master/docs/developer-guide/plugin.md#context-object-keys-by-lifecycle
Issues
semantic-release-s3
Version You Are Using2.4.1-beta.2
Your Config
Steps to reproduce
Expected behavior
The plugin correctly finds my directory and uploads it to s3.
Actual behavior
The plugin fails to find directoryPath. I've switched over to beta branch, get the following logs:
I have confirmed that the
docs
directory exists at the root of my project and contains files.Requirements