From 9e4a672038115c18757b2c8b34c3e68d32c2cd0b Mon Sep 17 00:00:00 2001 From: David Nicholson Date: Tue, 23 Jun 2020 00:00:25 +0100 Subject: [PATCH] change release description --- dist/index.js | 2 +- src/index.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index dbe2f3f..fedf16d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2942,7 +2942,7 @@ function uploadNewAsset(octokit, release, file, assetName) { repo: github.context.repo.repo, release_id: release.id, target_commitish: github.context.sha, - body: "Updated on " + new Date() + " by " + github.context.action + " (" + github.context.workflow + ")", + body: "Updated on " + new Date() + " by GitHub action: \"" + github.context.action + "\"", })]; case 1: _a.sent(); diff --git a/src/index.ts b/src/index.ts index 2981346..c872775 100644 --- a/src/index.ts +++ b/src/index.ts @@ -68,9 +68,7 @@ async function uploadNewAsset( repo: github.context.repo.repo, release_id: release.id, target_commitish: github.context.sha, - body: `Updated on ${new Date()} by ${github.context.action} (${ - github.context.workflow - })`, + body: `Updated on ${new Date()} by GitHub action: "${github.context.action}"`, }); console.log("Uploading new asset..."); await octokit.repos.uploadReleaseAsset({