Log the version with user format and namespace

This commit is contained in:
Teofilo Monteiro 2021-10-13 10:00:35 +02:00 committed by GitHub
parent 00b872db01
commit 2c7f4b8ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ const setOutput = (major, minor, patch, increment, changed, branch, namespace) =
core.info('No changes detected for this commit');
}
core.info(`Version is ${major}.${minor}.${patch}+${increment}`);
core.info(`Version is ${version}`);
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]}`);
}