Closed vitkarpov closed 6 years ago
Hi @blond,
First of all thanks for your work! The package is awesome. I'd like to introduce a feature.
If there's a bunch of artifacts it'd be convenient to describe them in the same place:
module.exports = [ { dest: '../foo.tar.gz', patterns: ... }, { dest: '../bar.tar.gz', patterns: ... }, ... ];
This pull request adds a special flag --config, using it you can specify a path to your config 👆
--config
$ tartifacts --config=.config/tartifacts/pull-request.js
If --config is specified all the other flags would be ignored. If it's not specified the previous behavior comes to the stage.
Also, I found some bugs (does v2.0.0-1 work?):
v2.0.0-1
Thanks!
Tartifacts CLI moved to tartifacts-cli package.
I added --config option in tartifacts-cli.
tartifacts-cli
Hi @blond,
First of all thanks for your work! The package is awesome. I'd like to introduce a feature.
If there's a bunch of artifacts it'd be convenient to describe them in the same place:
This pull request adds a special flag
--config
, using it you can specify a path to your config 👆If
--config
is specified all the other flags would be ignored. If it's not specified the previous behavior comes to the stage.Also, I found some bugs (does
v2.0.0-1
work?):6aa401bcd8e19f5b6cd08b07ddb2f39a003594a9