mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 04:58:17 +00:00
Update link branch name
This commit is contained in:
parent
2b9a4e8857
commit
4f2e9fedc3
2 changed files with 3 additions and 2 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: "Test and Run"
|
||||
name: "Build"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
|
@ -8,6 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
test:
|
||||
name: "Test and Run"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -668,7 +668,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