Skip to content

Commit 66fbf3f

Browse files
feat: always install latest version
1 parent 18f28ef commit 66fbf3f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dist/index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -5416,6 +5416,9 @@ async function main () {
54165416
if (core.getInput('prerelease')) {
54175417
args.push('--prerelease')
54185418
}
5419+
if (core.getInput('prepend')) {
5420+
args.push('--prepend-changelog')
5421+
}
54195422
if (core.getInput('dry')) {
54205423
args.push('--dry')
54215424
}
@@ -5439,7 +5442,7 @@ async function main () {
54395442
args.push(changelogOpts[idx])
54405443
}
54415444
}
5442-
const binPath = await installer('^2.5.0')
5445+
const binPath = await installer()
54435446
try {
54445447
core.info('running semantic-release...')
54455448
await exec.exec(binPath, args)

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function main () {
6262
args.push(changelogOpts[idx])
6363
}
6464
}
65-
const binPath = await installer('^2.5.0')
65+
const binPath = await installer()
6666
try {
6767
core.info('running semantic-release...')
6868
await exec.exec(binPath, args)

0 commit comments

Comments
 (0)