Skip to content

Commit

Permalink
fix(project): enhanced the release-it workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Nov 14, 2019
1 parent 1f14440 commit 89b71c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@
"preset": "angular",
"infile": "../../../CHANGELOG.md"
}
},
"hooks": {
"after:git:changelog": "git commit -a -m \"Updating CHANGELOG.md for v${version} \" && git push",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}.",
"before:npm": "echo building the library..."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"resync:schematics": "rsync -a schematics/collection.json ../../../dist/angular-material-extensions/select-country/schematics/",
"resync:readme": "rsync -a ../../../README.md ../../../dist/angular-material-extensions/select-country/",
"postbuild": "npm run build:schematics && npm run resync:readme && npm run resync:schematics",
"postpublish": "npm run build",
"prepublish": "npm run build",
"release:patch": "../../../node_modules/.bin/release-it --patch --ci",
"release:minor": "../../../node_modules/.bin/release-it --minor --ci",
"release:major": "../../../node_modules/.bin/release-it --major --ci"
Expand Down

0 comments on commit 89b71c9

Please sign in to comment.