Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
fix: use absolute script location
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcalpena committed Sep 12, 2019
1 parent a18076d commit 5f4d595
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const path = require('path');
const rootPackageScriptLocation = path.resolve('./scripts/update-root-package.js')

module.exports = {
"plugins": [
"@semantic-release/commit-analyzer",
Expand All @@ -12,7 +15,7 @@ module.exports = {
[
"@semantic-release/exec",
{
"prepareCmd": "node ./scripts/update-root-package.js"
"prepareCmd": `node ${rootPackageScriptLocation}`
}
],
"@semantic-release/git",
Expand Down

0 comments on commit 5f4d595

Please sign in to comment.