Skip to content

Commit

Permalink
fix: docs generation command typo, releasing from dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
CezCz committed Nov 5, 2020
1 parent 3929ad2 commit 78bde15
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 28 deletions.
43 changes: 16 additions & 27 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,22 @@

module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog', {
changelogFile: 'CHANGELOG.md'
}
],
'@semantic-release/npm',
[
'@semantic-release/github', {
pkgRoot: "dist/aem-angular-editable-components/",
assets: [
'package.json',
'CHANGELOG.md'
],
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
}
],
[
'@semantic-release/git', {
assets: [
'package.json',
'CHANGELOG.md'
]
}
]
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md",
}],
["@semantic-release/npm", {
"pkgRoot": "dist/aem-angular-editable-components/",
}],
["@semantic-release/github", {
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
['@semantic-release/git', {
'assets': ['package.json','CHANGELOG.md']
}]
],
branch: 'master',
branches: [ 'master' ]
branches: ['master']
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build:production": "npm run test && ng build aem-angular-editable-components --prod",
"build": "npm run test && ng build aem-angular-editable-components",
"clean": "rm -rf dist/",
"docs": "npm i && npx typedoc --excludePrivate ./src --out ./dist/docs --mode file --exclude '**/test/**/* --exclude '**/*.spec.ts' --exclude src/test.ts",
"docs": "npm i && npx typedoc --excludePrivate ./src --out ./dist/docs --mode file --exclude '**/test/**/*' --exclude '**/*.spec.ts' --exclude src/test.ts",
"e2e": "ng e2e",
"linter": "eslint .",
"ng": "ng",
Expand Down

0 comments on commit 78bde15

Please sign in to comment.