Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
chore(release): Add releases to GitHub (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour authored Jun 18, 2018
1 parent 078364b commit d4ce327
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"requireUpstream": false,
"increment": "conventional:angular",
"buildCommand": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"buildCommand": "npm run changelog && git add CHANGELOG.md",
"src": {
"commitMessage": "chore(release): %s",
"beforeStartCommand": "npm run lint && npm run test -- --colors && npm run test:e2e -- --colors",
"afterReleaseCommand": "npm run release-templates"
},
"github": {
"release": true,
"releaseName": "%s",
"tokenRef": "GITHUB_TOKEN_CISA"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"lint": "eslint .",
"lint:fix": "yarn lint --fix",
"format": "prettier --write *.{js,md,json}",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release-templates": "node ./scripts/release-templates",
"release": "release-it",
"release:beta": "release-it --preRelease=beta"
Expand Down

0 comments on commit d4ce327

Please sign in to comment.