Skip to content

Commit

Permalink
Merge pull request #41 from WyriHaximus/Drop-r-from-fallback
Browse files Browse the repository at this point in the history
Drop \r from fallback
  • Loading branch information
WyriHaximus authored Oct 25, 2022
2 parents ad051e0 + 3aada96 commit dc52ee2
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 @@ -13,8 +13,8 @@ exec(`git for-each-ref --sort=-creatordate --count 1 --format="%(refname:short)"
console.log('\x1b[33m%s\x1b[0m', 'Falling back to default tag');
console.log('\x1b[32m%s\x1b[0m', `Found tag: ${process.env.INPUT_FALLBACK}`);
console.log('\x1b[32m%s\x1b[0m', `Found timestamp: ${timestamp}`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `tag=${process.env.INPUT_FALLBACK}\r\n`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `timestamp=${timestamp}\r\n`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `tag=${process.env.INPUT_FALLBACK}\n`);
fs.appendFileSync(process.env.GITHUB_OUTPUT, `timestamp=${timestamp}\n`);
process.exit(0);
}

Expand Down

0 comments on commit dc52ee2

Please sign in to comment.