diff --git a/index.js b/index.js index 06b8d0c..0398e10 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,7 @@ async function run() { console.log(`Old version: ${version}. New version: ${newVersion}`) - fs.writeFileSync(file, JSON.stringify(projectInfoFile, null, 2)); + fs.writeFileSync(file, JSON.stringify(file, null, 2)); await commitChanges(core.getInput('filePath'), file);