Skip to content

Commit

Permalink
fix: reorder release config so that version is correct
Browse files Browse the repository at this point in the history
[Fixes #181533539]
  • Loading branch information
ianwremmel committed Mar 11, 2022
1 parent 4e5f403 commit fb9ef9e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
["@semantic-release/exec", {
"prepareCmd": "VERSION=${nextRelease.version} npm run build",
"publishCmd": "./scripts/publish-integrations"
}],
'@semantic-release/npm',
[
'@semantic-release/github',
{
assets: ['dist/pkg/*'],
},
],
// Reminder: this needs to come after npm so that npm's `prepare` can update
// package.json with the new version.
["@semantic-release/exec", {
"prepareCmd": "VERSION=${nextRelease.version} npm run build",
"publishCmd": "./scripts/publish-integrations"
}],
],
};

0 comments on commit fb9ef9e

Please sign in to comment.