Skip to content

Commit

Permalink
fixing version regex to work with two digit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Fitzgerald committed Mar 9, 2012
1 parent b6b2eda commit fda3e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
REPORTER = spec
VERSION := $(shell cat package.json | grep version | grep -o '[0-9]\.[0-9]\.[0-9]+')
VERSION := $(shell cat package.json | grep version | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
TESTFILES := $(shell find test -name '*-test.js')

test: test-unit
Expand Down

0 comments on commit fda3e67

Please sign in to comment.