From 1b5955232a341794db5728f45358344c97530d07 Mon Sep 17 00:00:00 2001 From: Matthew Francis Brunetti Date: Mon, 5 Mar 2018 16:38:56 -0300 Subject: [PATCH] chore(ci): Configure tarballDir for post-mortem debugging --- release.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/release.config.js b/release.config.js index 464d2c8..bf93c00 100644 --- a/release.config.js +++ b/release.config.js @@ -1,6 +1,8 @@ /* eslint-disable no-template-curly-in-string */ /* eslint-env node */ +const tarballDir = require('path').join(__dirname, 'tarball') + module.exports = { debug: true, prepare: [ @@ -11,5 +13,11 @@ module.exports = { message: 'chore(release): ${nextRelease.version} [skip ci]', }, ], - publish: ['@semantic-release/npm', '@semantic-release/github'], + publish: [ + { + path: '@semantic-release/npm', + tarballDir, + }, + '@semantic-release/github', + ], }