Skip to content

Commit

Permalink
fix(CI): generate persistent changelog file
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincharity committed Mar 6, 2019
1 parent 85f2d66 commit b075829
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 3 deletions.
34 changes: 32 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"codecov:upload": "npx codecov -f coverage/*.json",
"//=> Section: Release": "==============================",
"semantic-release": "semantic-release",
"check:next-release": "npx semantic-release --dry-run",
"check:next-release": "npx semantic-release --no-ci --dry-run",
"//=> Section: Tooling": "==============================",
"lint-staged": "lint-staged",
"validate:circleci": "circleci config validate -c .circleci/config.yml",
Expand Down Expand Up @@ -101,14 +101,42 @@
},
"release": {
"branch": "master",
"plugins": [
["@semantic-release/release-notes-generator",
{
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"writerOpts": {
"commitsSort": [
"subject",
"scope"
]
}
}
],
"@semantic-release/git"
],
"verifyConditions": [
"condition-circle",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"prepare": [
"@semantic-release/changelog"
{
"path": "@semantic-release/changelog",
"changelogFile": "CHANGELOG.md"
},
{
"path": "@semantic-release/git",
"message": "📚 Add ${nextRelease.version} release notes [skip ci]"
}
],
"publish": [
{
Expand Down Expand Up @@ -161,8 +189,10 @@
"@ngrx/store": "^7.1.0",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/exec": "^3.3.2",
"@semantic-release/git": "^7.0.8",
"@semantic-release/github": "^5.2.10",
"@semantic-release/npm": "^5.1.4",
"@semantic-release/release-notes-generator": "^7.1.4",
"@types/jest": "^23.3.13",
"@types/node": "^10.12.19",
"all-contributors-cli": "^5.11.0",
Expand Down
18 changes: 17 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,22 @@
lodash "^4.17.4"
parse-json "^4.0.0"

"@semantic-release/git@^7.0.8":
version "7.0.8"
resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-7.0.8.tgz#b9e1af094a19d4e96974b90a969ad0e6782c8727"
integrity sha512-sA+XoPU6GrV+A4YswO0b5JWL1KbzmyyaqUK6Y2poDkIVPlj+oQdi/stpKz/bKF5z9ChMGP87OVPMeUyXGaNFtw==
dependencies:
"@semantic-release/error" "^2.1.0"
aggregate-error "^2.0.0"
debug "^4.0.0"
dir-glob "^2.0.0"
execa "^1.0.0"
fs-extra "^7.0.0"
globby "^9.0.0"
lodash "^4.17.4"
micromatch "^3.1.4"
p-reduce "^1.0.0"

"@semantic-release/github@^5.1.0":
version "5.2.8"
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-5.2.8.tgz#e80e90c82fffd1dd803333de3522ca79a07c090a"
Expand Down Expand Up @@ -749,7 +765,7 @@
read-pkg "^4.0.0"
registry-auth-token "^3.3.1"

"@semantic-release/release-notes-generator@^7.1.2":
"@semantic-release/release-notes-generator@^7.1.2", "@semantic-release/release-notes-generator@^7.1.4":
version "7.1.4"
resolved "https://registry.yarnpkg.com/@semantic-release/release-notes-generator/-/release-notes-generator-7.1.4.tgz#8f4f752c5a8385abdaac1256127cef05988bc2ad"
integrity sha512-pWPouZujddgb6t61t9iA9G3yIfp3TeQ7bPbV1ixYSeP6L7gI1+Du82fY/OHfEwyifpymLUQW0XnIKgKct5IMMw==
Expand Down

0 comments on commit b075829

Please sign in to comment.