From 84b6c946a06fdd569cbe63a8b9976cdfd5163dbc Mon Sep 17 00:00:00 2001 From: nimish Date: Fri, 10 Jul 2020 21:07:39 +0530 Subject: [PATCH 1/2] added fix for tag coming as undefined --- source/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ui.js b/source/ui.js index 79889336..37a1f322 100644 --- a/source/ui.js +++ b/source/ui.js @@ -193,8 +193,8 @@ module.exports = async (options, pkg) => { return { ...options, - version: answers.version || answers.customVersion, - tag: answers.tag || answers.customTag, + version: answers.version || answers.customVersion || options.version , + tag: answers.tag || answers.customTag || options.tag, confirm: true, repoUrl, releaseNotes From e12996cdcdf5e27c5e26cf4075f9140c06674b7f Mon Sep 17 00:00:00 2001 From: nimish Date: Fri, 10 Jul 2020 21:10:21 +0530 Subject: [PATCH 2/2] space fix for xo --- source/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ui.js b/source/ui.js index 37a1f322..6c82aa27 100644 --- a/source/ui.js +++ b/source/ui.js @@ -193,7 +193,7 @@ module.exports = async (options, pkg) => { return { ...options, - version: answers.version || answers.customVersion || options.version , + version: answers.version || answers.customVersion || options.version, tag: answers.tag || answers.customTag || options.tag, confirm: true, repoUrl,