dump ver in 'make versioncheck'
This commit is contained in:
parent
67b8bab6c9
commit
af6afa3c31
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -36,6 +36,7 @@ all:
|
||||||
# Ensure all version-carrying files have the same version.
|
# Ensure all version-carrying files have the same version.
|
||||||
.PHONY: versioncheck
|
.PHONY: versioncheck
|
||||||
versioncheck:
|
versioncheck:
|
||||||
|
@echo version is: $(shell cat package.json | lib/json.js version)
|
||||||
[[ `cat package.json | json version` == `grep '^## ' CHANGES.md | head -1 | awk '{print $$3}'` ]]
|
[[ `cat package.json | json version` == `grep '^## ' CHANGES.md | head -1 | awk '{print $$3}'` ]]
|
||||||
[[ `cat package.json | json version` == `grep '^var VERSION' bin/bunyan | awk -F"'" '{print $$2}'` ]]
|
[[ `cat package.json | json version` == `grep '^var VERSION' bin/bunyan | awk -F"'" '{print $$2}'` ]]
|
||||||
[[ `cat package.json | json version` == `grep '^var VERSION' lib/bunyan.js | awk -F"'" '{print $$2}'` ]]
|
[[ `cat package.json | json version` == `grep '^var VERSION' lib/bunyan.js | awk -F"'" '{print $$2}'` ]]
|
||||||
|
|
Loading…
Reference in a new issue