From 06d6d06e7e833a019dcaebbb048639b29fbec2a2 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 12 Apr 2022 12:51:29 +0000 Subject: [PATCH] compiled action --- dist/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 03fea17..a2a5e76 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8737,13 +8737,16 @@ async function buildChangeLog(client, lastTaggedCommitSha, nextVersion) { } async function release(client, changeLog, nextVersion) { - console.log(`Creating release for version ${nextVersion} ...`); + console.log(`Releasing version ${nextVersion} ...`); + const sha = core.getInput('sha').length === 0 ? github.context.sha : core.getInput('sha'); + console.log(`- Adding tag ${nextVersion} on commit ${sha}`); await client.git.createRef({ owner: github.context.repo.owner, repo: github.context.repo.repo, ref: `refs/tags/${nextVersion}`, - sha: core.getInput('sha').length === 0 ? github.context.sha : core.getInput('sha') + sha: sha }); + console.log(`- Tag ${nextVersion} added on commit ${sha}`); await client.repos.createRelease({ owner: github.context.repo.owner, repo: github.context.repo.repo,