From 0ea4e75805150e48492534c9b7a0db7fad33b7c8 Mon Sep 17 00:00:00 2001 From: bootsie123 Date: Fri, 23 Oct 2020 08:54:06 -0400 Subject: [PATCH 1/2] Update action.yml --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index bd0154c..9af8969 100644 --- a/action.yml +++ b/action.yml @@ -31,3 +31,7 @@ inputs: description: 'Custom dir to the package' default: '' required: false + default: + description: 'Set a default version bump to use' + default: 'patch' + required: false From 670977ccf7863d91eaa42ecd7751501a6e1b71a7 Mon Sep 17 00:00:00 2001 From: bootsie123 Date: Fri, 23 Oct 2020 08:54:23 -0400 Subject: [PATCH 2/2] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9c11f1f..6943420 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ Toolkit.run(async tools => { const patchWords = process.env['INPUT_PATCH-WORDING'].split(',') const preReleaseWords = process.env['INPUT_RC-WORDING'].split(',') - let version = process.env['DEFAULT'] || 'patch' + let version = process.env['INPUT_DEFAULT'] || 'patch' let foundWord = null; if (messages.some(