File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ ISTANBUL := $(NODE_BIN)/istanbul
2727MOCHA := $(NODE_BIN ) /mocha
2828_MOCHA := $(NODE_BIN ) /_mocha
2929UNLEASH := $(NODE_BIN ) /unleash
30+ CONVENTIONAL_RECOMMENDED_BUMP := $(NODE_BIN ) /conventional-recommended-bump
3031
3132
3233#
@@ -71,6 +72,17 @@ githooks: ## Install githooks
7172 @ln -s $(GIT_HOOK_SRC ) $(GIT_HOOK_DEST )
7273
7374
75+ .PHONY : release-dry
76+ release-dry : $(NODE_MODULES ) # # Dry run of `release` target
77+ $(UNLEASH ) -d --type=$(shell $(CONVENTIONAL_RECOMMENDED_BUMP ) -p angular)
78+
79+
80+ .PHONY : release
81+ release : $(NODE_MODULES ) # # Versions, tags, and updates changelog based on commit messages
82+ $(UNLEASH ) --type=$(shell $(CONVENTIONAL_RECOMMENDED_BUMP ) -p angular) --no-publish
83+ $(NPM ) publish
84+
85+
7486.PHONY : lint
7587lint : $(NODE_MODULES ) # # Run lint and style checks
7688 @$(ESLINT ) $(ALL_FILES )
Original file line number Diff line number Diff line change 3737 "devDependencies" : {
3838 "bunyan" : " ^1.8.10" ,
3939 "chai" : " ^4.2.0" ,
40+ "conventional-changelog-angular" : " ^5.0.0" ,
41+ "conventional-recommended-bump" : " ^4.0.0" ,
4042 "coveralls" : " ^3.0.3" ,
4143 "eslint" : " ^5.16.0" ,
4244 "istanbul" : " ^0.4.5" ,
4345 "mkdirp" : " ^0.5.1" ,
4446 "mocha" : " ^6.1.4" ,
4547 "restify" : " ^8.3.1" ,
46- "restify-clients" : " ^2.6.4"
48+ "restify-clients" : " ^2.6.4" ,
49+ "unleash" : " ^2.0.1"
4750 },
4851 "optionalDependencies" : {
4952 "safe-json-stringify" : " ^1.0.4"
You can’t perform that action at this time.
0 commit comments