mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 13:08:17 +00:00
Update link branch format
This commit is contained in:
parent
bedbb2c292
commit
2b9a4e8857
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -32,7 +32,7 @@ const setOutput = (major, minor, patch, increment, changed, branch) => {
|
|||
|
||||
core.info(`Version is ${major}.${minor}.${patch}+${increment}`);
|
||||
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("major", major.toString());
|
||||
|
|
|
|||
Loading…
Reference in a new issue