-
Notifications
You must be signed in to change notification settings - Fork 230
Closed
Description
Hi,
It seems like the glob method on the plugin fails if glob cwd option is used. For instance, consider the directory structure:
|-A
| |---b.txt
| |---c.txt
| |---D
| |---e.txt
|-buildScript.js
So if inside my build script, I use the following:
archive.glob(options.awsArchiveGlobPattern,{cwd:'D'}).finalize();
the archiving step fails with error as the archiver is running from base directory while glob returns a path which says e.text (not D/e.txt)
I do not want to use the directory method as I still want to apply pattern filters. The objective is to create a zip file say test.zip which on expanding has e.txt at the root, instead of D/e.txt.
Metadata
Metadata
Assignees
Labels
No labels