Skip to content

Commit

Permalink
change release description
Browse files Browse the repository at this point in the history
  • Loading branch information
djnicholson committed Jun 22, 2020
1 parent 04d6549 commit 9e4a672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 9e4a672

Please sign in to comment.