Skip to content

Commit

Permalink
Update getversion.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Jul 17, 2024
1 parent 5e9035e commit 272f0e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/getversion.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ parser.parseString(xml, (err, result) => {
}
let version = result.project.version;
console.info("DodoOpenJavaVersion=" + version)
fs.writeFileSync(process.env.GITHUB_ENV, "version=" + version );
fs.writeFileSync(process.env.GITHUB_ENV, "oldversion=" + result.project.properties.oldversion);
fs.writeFileSync(process.env.GITHUB_ENV, "version=" + version);
fs.appendFileSync(process.env.GITHUB_ENV, "oldversion=" + result.project.properties.oldversion);
});

0 comments on commit 272f0e8

Please sign in to comment.