From cb6143c85d09cb3cd042f59b5b82606e701c2b61 Mon Sep 17 00:00:00 2001 From: mariosch Date: Thu, 1 Jul 2021 15:53:00 +0300 Subject: [PATCH] Attempt to fix prerelease --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bfd3695..e101a60 100644 --- a/index.js +++ b/index.js @@ -79,7 +79,7 @@ Toolkit.run(async (tools) => { // version = null; // } - if (version === 'prerelease' || (process.env.INPUT_DEFAULT === 'prerelease' && preid)) { + if (version === 'prerelease' && preid)) { tools.log('Version is prerelease and it contains a preid'); version = 'prerelease'; version = `${version} --preid=${preid}`;