Updated releaseBody
This commit is contained in:
parent
aeb9cff3da
commit
042aab11c2
|
@ -20,10 +20,17 @@ async function start() {
|
||||||
+ "&target_commitish=" + SHORT_SHA1 + "&name=v" + VERSION;
|
+ "&target_commitish=" + SHORT_SHA1 + "&name=v" + VERSION;
|
||||||
console.log(`Posting to: ${CREATE_RELEASE_URI}`)
|
console.log(`Posting to: ${CREATE_RELEASE_URI}`)
|
||||||
|
|
||||||
|
const releaseBody = `
|
||||||
|
<details>
|
||||||
|
<summary>
|
||||||
|
New release
|
||||||
|
</summary>
|
||||||
|
</details>
|
||||||
|
`
|
||||||
await request({
|
await request({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
uri: CREATE_RELEASE_URI,
|
uri: CREATE_RELEASE_URI,
|
||||||
body: "New release",
|
body: releaseBody,
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': `token ${GITHUB_TOKEN}`,
|
'Authorization': `token ${GITHUB_TOKEN}`,
|
||||||
'User-Agent': 'Nifty Wallet'
|
'User-Agent': 'Nifty Wallet'
|
||||||
|
|
Loading…
Reference in New Issue