Skip to content

Commit

Permalink
Update link branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHatch committed Feb 8, 2020
1 parent 2b9a4e8 commit 4f2e9fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Test and Run"
name: "Build"
on:
pull_request:
push:
Expand All @@ -8,6 +8,7 @@ on:

jobs:
test:
name: "Test and Run"
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 4f2e9fe

Please sign in to comment.