Updated releaseBody

This commit is contained in:
Natalia 2018-07-26 15:08:51 -07:00
parent aeb9cff3da
commit 042aab11c2
1 changed files with 8 additions and 1 deletions

View File

@ -20,10 +20,17 @@ async function start() {
+ "&target_commitish=" + SHORT_SHA1 + "&name=v" + VERSION;
console.log(`Posting to: ${CREATE_RELEASE_URI}`)
const releaseBody = `
<details>
<summary>
New release
</summary>
</details>
`
await request({
method: 'POST',
uri: CREATE_RELEASE_URI,
body: "New release",
body: releaseBody,
headers: {
'Authorization': `token ${GITHUB_TOKEN}`,
'User-Agent': 'Nifty Wallet'