Skip to content

Commit

Permalink
👌 IMPROVE: release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed Jul 26, 2018
1 parent b13f676 commit 7b85e68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"force": true,
"non-interactive": true,
"increment": "minor",
"beforeChangelogCommand": "auto-changelog",
"safeBump": false,
"afterReleaseCommand": "echo Successfully released ${version}.",
"src": {
"commitMessage": "🦄 Release %s",
"tagAnnotation": "🦄 Release %s"
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@
"scripts": {
"start": "nodemon --exec vsce package",
"log": "auto-changelog && git add . && git ci -m ' 📖 DOC: Update the changelog' && git push",
"release": "release-it && auto-changelog && git add . && git ci -m ' 📖 DOC: Update the changelog' && git push && npx vsce publish",
"release": "release-it && npx vsce publish",
"release-dry": "release-it --dry-run"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "clTemplate.hbs",
"unreleased": false,
"commitLimit": false,
"package": true
"commitLimit": false
}
}

0 comments on commit 7b85e68

Please # to comment.