Skip to content

Commit 27155e8

Browse files
committed
Properly escape newlines in zealot changelog
1 parent c20da51 commit 27155e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- changed: Add more metadata to zealot upload
1515
- changed: Token swap error demoted to red error dropdown to a toast
1616
- changed: 1 cent minimum requirement for high fee warning
17+
- changed: Properly escape newlines in Zealot changelog
1718
- fixed: Cutoff UI in `CreateWalletImportScene` when keyboard open
1819
- fixed: Unecessary eye icon in `CreateWalletImportScene` text input field
1920
- fixed: PoweredBy card displaying custom system fonts

scripts/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ function buildCommonPost(buildObj: BuildObj) {
438438
const branch = encodeURIComponent(buildObj.repoBranch)
439439
const gitCommit = encodeURIComponent(buildObj.guiHash)
440440
chdir(buildObj.guiDir)
441-
const changes = rmNewline(cmd(`git diff HEAD^ HEAD CHANGELOG.md | grep '^+[^+]'`))
441+
const changes = cmd(`git diff HEAD^ HEAD CHANGELOG.md | grep '^+[^+]'`)
442442
const changelog = encodeURIComponent(changes)
443443
mylog(`\n\nUploading to Zealot: ${zealotUrl}`)
444444
mylog('***********************************************************************\n')

0 commit comments

Comments
 (0)