Skip to content

Commit

Permalink
fix(build): generate changelog during release
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Apr 26, 2020
1 parent 964f5e7 commit 5d659d9
Show file tree
Hide file tree
Showing 4 changed files with 13,957 additions and 6,964 deletions.
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@ jobs:
name: release
command: |
npm i
export GITHUB_TOKEN=$GITHUB_TOKEN
git config user.email "devops@uport.me"
git config user.name "uport-eng"
git config user.name "uport-automation-bot"
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
npx semantic-release@beta --debug
npx semantic-release --debug
workflows:
version: 2
Expand All @@ -69,6 +68,3 @@ workflows:
branches:
only:
- master
- beta
- alpha
- next
27 changes: 15 additions & 12 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"branches": [
"master",
"next",
{
"prerelease": true,
"name": "beta"
},
{
"prerelease": true,
"name": "alpha"
}
]
"tagFormat": "${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
"@semantic-release/npm",
["@semantic-release/git", {
"assets": ["CHANGELOG.md", "docs", "package.json", "package-lock.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
"@semantic-release/github"
],
"branch": "master"
}
Loading

0 comments on commit 5d659d9

Please sign in to comment.