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

Commit d4ce327

Browse files
chore(release): Add releases to GitHub (#60)
1 parent 078364b commit d4ce327

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.release-it.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
{
22
"requireUpstream": false,
33
"increment": "conventional:angular",
4-
"buildCommand": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
4+
"buildCommand": "npm run changelog && git add CHANGELOG.md",
55
"src": {
66
"commitMessage": "chore(release): %s",
77
"beforeStartCommand": "npm run lint && npm run test -- --colors && npm run test:e2e -- --colors",
88
"afterReleaseCommand": "npm run release-templates"
9+
},
10+
"github": {
11+
"release": true,
12+
"releaseName": "%s",
13+
"tokenRef": "GITHUB_TOKEN_CISA"
914
}
1015
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"lint": "eslint .",
1818
"lint:fix": "yarn lint --fix",
1919
"format": "prettier --write *.{js,md,json}",
20+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
2021
"release-templates": "node ./scripts/release-templates",
2122
"release": "release-it",
2223
"release:beta": "release-it --preRelease=beta"

0 commit comments

Comments
 (0)