Skip to content

Commit

Permalink
Remove newlines from output
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkatz committed Oct 24, 2022
1 parent 3ac6bcc commit 7271f28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ exec(`git for-each-ref --sort=-creatordate --count 1 --format="%(refname:short)"

console.log('\x1b[32m%s\x1b[0m', `Found tag: ${tag}`);
console.log('\x1b[32m%s\x1b[0m', `Found timestamp: ${timestamp}`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `tag=${tag}\r\n`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `timestamp=${timestamp}\r\n`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `tag=${tag}`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `timestamp=${timestamp}`);
process.exit(0);
});
});

0 comments on commit 7271f28

Please sign in to comment.