diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48cdfe9..49da229 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/dist/index.js b/dist/index.js index 564126f..5dae270 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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());