Skip to content

Commit 4f4de8b

Browse files
remove newline in PR details of what's new
1 parent 55b83ad commit 4f4de8b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58726,7 +58726,7 @@ async function getWhatsNew() {
5872658726
let pullRequestInfo = '';
5872758727
if (github.context.eventName === 'pull_request') {
5872858728
const prTitle = (_b = github.context.payload.pull_request) === null || _b === void 0 ? void 0 : _b.title;
58729-
pullRequestInfo = `\nPR #${(_c = github.context.payload.pull_request) === null || _c === void 0 ? void 0 : _c.number} ${prTitle}`;
58729+
pullRequestInfo = `PR #${(_c = github.context.payload.pull_request) === null || _c === void 0 ? void 0 : _c.number} ${prTitle}`;
5873058730
}
5873158731
const commitMessage = await execGit(['log', head, '-1', '--format=%B']);
5873258732
whatsNew = `[${commitSha.trim()}] ${branchName.trim()}\n${pullRequestInfo}\n${commitMessage.trim()}`;

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/xcode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ async function getWhatsNew(): Promise<string> {
773773
let pullRequestInfo = '';
774774
if (github.context.eventName === 'pull_request') {
775775
const prTitle = github.context.payload.pull_request?.title;
776-
pullRequestInfo = `\nPR #${github.context.payload.pull_request?.number} ${prTitle}`;
776+
pullRequestInfo = `PR #${github.context.payload.pull_request?.number} ${prTitle}`;
777777
}
778778
const commitMessage = await execGit(['log', head, '-1', '--format=%B']);
779779
whatsNew = `[${commitSha.trim()}] ${branchName.trim()}\n${pullRequestInfo}\n${commitMessage.trim()}`;

0 commit comments

Comments
 (0)