Log whether changes were detected

This commit is contained in:
Paul Hatcherian 2020-09-05 05:48:19 -04:00
parent a600f925a2
commit 987b40ae05

View file

@ -48,6 +48,10 @@ const setOutput = (major, minor, patch, increment, changed, branch, namespace) =
const repository = process.env.GITHUB_REPOSITORY;
if (!changed) {
core.info('No changes detected for this commit');
}
core.info(`Version is ${major}.${minor}.${patch}+${increment}`);
if (repository !== undefined && !namespace) {
core.info(`To create a release for this version, go to https://github.com/${repository}/releases/new?tag=${tag}&target=${branch.split('/').reverse()[0]}`);