mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-23 06:16:41 +00:00
add new line at the end of the file
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
dda4f75bd7
commit
15ea112f83
3
index.js
3
index.js
@ -48,11 +48,10 @@ async function run() {
|
|||||||
|
|
||||||
console.log(`Old version: ${version}. New version: ${newVersion}`)
|
console.log(`Old version: ${version}. New version: ${newVersion}`)
|
||||||
|
|
||||||
// fs.writeFileSync(file, JSON.stringify(file, null, 2));
|
|
||||||
const filePathRelatedToRoot = getProjectInfoFilePath(filePathInput, true);
|
const filePathRelatedToRoot = getProjectInfoFilePath(filePathInput, true);
|
||||||
await commitChanges(file, filePathRelatedToRoot);
|
await commitChanges(file, filePathRelatedToRoot);
|
||||||
|
|
||||||
const payload = JSON.stringify(github.context.payload, undefined, 2)
|
const payload = JSON.stringify(github.context.payload + '\n', undefined, 2)
|
||||||
|
|
||||||
// console.log(`The event payload: ${payload}`);
|
// console.log(`The event payload: ${payload}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user