Skip to content

Commit

Permalink
fix: add compile to release process (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
damcou authored Jul 19, 2021
1 parent 22102f3 commit 9669048
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
},
"homepage": "https://github.com/algolia/algoliasearch-crawler-github-actions#readme",
"devDependencies": {
"@semantic-release/exec": "5.0.0",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@semantic-release/npm": "7.1.3",
Expand Down
6 changes: 5 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ module.exports = {
changelogFile: 'CHANGELOG.md',
},
'@semantic-release/npm',
{
path: '@semantic-release/exec',
prepareCmd: 'yarn compile',
},
{
path: '@semantic-release/git',
assets: ['package.json', 'CHANGELOG.md'],
assets: ['package.json', 'CHANGELOG.md', 'build/index.js'],
message:
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,18 @@
resolved "https://registry.npmjs.org/@semantic-release/error/-/error-2.2.0.tgz"
integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg==

"@semantic-release/exec@5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@semantic-release/exec/-/exec-5.0.0.tgz#69c253107a755dabf7c262d417269d099f714356"
integrity sha512-t7LWXIvDJQbuGCy2WmMG51WyaGSLTvZBv9INvcI4S0kn+QjnnVVUMhcioIqhb0r3yqqarMzHVcABFug0q0OXjw==
dependencies:
"@semantic-release/error" "^2.1.0"
aggregate-error "^3.0.0"
debug "^4.0.0"
execa "^4.0.0"
lodash "^4.17.4"
parse-json "^5.0.0"

"@semantic-release/git@9.0.0":
version "9.0.0"
resolved "https://registry.npmjs.org/@semantic-release/git/-/git-9.0.0.tgz"
Expand Down

0 comments on commit 9669048

Please sign in to comment.