Skip to content

Commit

Permalink
feat: always install latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jul 28, 2021
1 parent 18f28ef commit 66fbf3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5416,6 +5416,9 @@ async function main () {
if (core.getInput('prerelease')) {
args.push('--prerelease')
}
if (core.getInput('prepend')) {
args.push('--prepend-changelog')
}
if (core.getInput('dry')) {
args.push('--dry')
}
Expand All @@ -5439,7 +5442,7 @@ async function main () {
args.push(changelogOpts[idx])
}
}
const binPath = await installer('^2.5.0')
const binPath = await installer()
try {
core.info('running semantic-release...')
await exec.exec(binPath, args)
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function main () {
args.push(changelogOpts[idx])
}
}
const binPath = await installer('^2.5.0')
const binPath = await installer()
try {
core.info('running semantic-release...')
await exec.exec(binPath, args)
Expand Down

0 comments on commit 66fbf3f

Please sign in to comment.