Skip to content

Commit

Permalink
fix: generate assets for release
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Jan 3, 2021
1 parent c807dd0 commit d063f75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
["@semantic-release/npm", {
"npmPublish": true,
}],
["@semantic-release/exec", {
"prepareCmd": "npm run build && npm run docs"
}],
["@semantic-release/git", {
"assets": ["dist", "docs", "CHANGELOG.md", "API.md", "README.md", "package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"scripts": {
"build": "microbundle --tsconfig tsconfig.build.json --compress",
"release": "dotenv semantic-release",
"prerelease": "npm run build && npm run docs",
"test": "node --require babel-register-ts test",
"coverage": "nyc --reporter lcov --reporter text node test",
"postcoverage": "dotenv codecov",
Expand Down Expand Up @@ -59,6 +58,7 @@
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@types/stylelint": "^9.10.1",
"@typescript-eslint/eslint-plugin": "^4.8.2",
Expand Down

0 comments on commit d063f75

Please sign in to comment.