Update link branch format

This commit is contained in:
Paul Hatcherian 2020-01-25 12:19:29 -05:00
parent bedbb2c292
commit 2b9a4e8857

View file

@ -32,7 +32,7 @@ const setOutput = (major, minor, patch, increment, changed, branch) => {
core.info(`Version is ${major}.${minor}.${patch}+${increment}`); core.info(`Version is ${major}.${minor}.${patch}+${increment}`);
if (repository !== undefined) { if (repository !== undefined) {
core.info(`To create a release for this version, go to https://github.com/${repository}/releases/new?tag=${tag}&target=${branch.trim()}`); core.info(`To create a release for this version, go to https://github.com/${repository}/releases/new?tag=${tag}&target=${branch.split('/').reverse()[0]}`);
} }
core.setOutput("version", version); core.setOutput("version", version);
core.setOutput("major", major.toString()); core.setOutput("major", major.toString());