Browse Source

fix: set release notes body to a string (#16164)

Michelle Tilley 6 years ago
parent
commit
86cbe5bab7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/prepare-release.js

+ 1 - 1
script/prepare-release.js

@@ -120,7 +120,7 @@ async function createRelease (branchToTarget, isBeta) {
     githubOpts.name = `${githubOpts.name}`
     githubOpts.prerelease = true
   } else {
-    githubOpts.body = releaseNotes
+    githubOpts.body = releaseNotes.text
   }
   githubOpts.tag_name = newVersion
   githubOpts.target_commitish = newVersion.indexOf('nightly') !== -1 ? 'master' : branchToTarget