Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where does the token come from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I explain it in the contributing guide. Does that make sense?

}
}
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