Skip to content

Commit

Permalink
Merge f327965 into ff24cf5
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaroneee committed Oct 22, 2019
2 parents ff24cf5 + f327965 commit d58a6eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
@@ -1 +1,2 @@
* Fixes a bug where rounds=0 was accepted for SHA1 hashes (#1617).
* Fixes a bug where rounds=0 was accepted for SHA1 hashes (#1617).
* Allows support for using `\n` in the `--releaseNotes` option of the `appdistribution:distribute` command (#1739).
3 changes: 2 additions & 1 deletion src/commands/appdistribution-distribute.ts
Expand Up @@ -22,7 +22,8 @@ function getAppId(appId: string): string {

function getReleaseNotes(releaseNotes: string, releaseNotesFile: string): string {
if (releaseNotes) {
return releaseNotes;
// Un-escape new lines from argument string
return releaseNotes.replace(/\\n/g, "\n");
} else if (releaseNotesFile) {
ensureFileExists(releaseNotesFile);
return fs.readFileSync(releaseNotesFile, "utf8");
Expand Down

0 comments on commit d58a6eb

Please sign in to comment.