From 97d46bb6adb8d92e3cc9b5f8ab3be3968de0b66a Mon Sep 17 00:00:00 2001 From: Shakar Bakr <5h4k4r.b4kr@gmail.com> Date: Wed, 4 Oct 2023 13:53:53 +0300 Subject: [PATCH] Update index Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com> --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 1c906e4..5b5476b 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,6 @@ async function run() { const labelInput = core.getInput('label'); const filePath = getProjectInfoFilePath(filePathInput); - const file = await getFile(filePath); console.log(`Label: ${labelInput}`) @@ -53,7 +52,7 @@ async function run() { // join the parts back together const newVersion = versionParts.join('.'); - file = updateProjectVersion(filePath, newVersion); + const file = updateProjectVersion(filePath, newVersion); console.log(`Old version: ${version}. New version: ${newVersion}`)