Skip to content

Commit bd029e0

Browse files
committed
fix: output .releaserc.js file
1 parent 58d74a5 commit bd029e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ const installSemanticRelease = () => {
5454
const installReleaseRc = (destinationPath) => {
5555
return new Promise((resolve, reject) => {
5656
console.log(chalk`Creating {blue.bold .releaserc.js} file ...`)
57-
const destinationReleasercPath = path.join(destinationPath, "/releaserc.js")
57+
const destinationReleasercPath = path.join(
58+
destinationPath,
59+
"/.releaserc.js"
60+
)
5861
const content = getReleaseRc()
5962
try {
6063
fs.writeFileSync(destinationReleasercPath, content)

0 commit comments

Comments
 (0)