Update link branch name

This commit is contained in:
Paul Hatcherian 2020-02-07 22:27:32 -05:00
parent 2b9a4e8857
commit 4f2e9fedc3
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
name: "Test and Run" name: "Build"
on: on:
pull_request: pull_request:
push: push:
@ -8,6 +8,7 @@ on:
jobs: jobs:
test: test:
name: "Test and Run"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout

2
dist/index.js vendored
View file

@ -668,7 +668,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());