Skip to content
Browse files

- change where version is picked from

  • Loading branch information...
1 parent ae34916 commit 4c05d2afc4bd6551282e3adb40eecdd8b5d3cb97 @jordansissel committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
2 Makefile
@@ -1,5 +1,5 @@
GEMSPEC=$(shell ls *.gemspec)
-VERSION=$(shell awk -F\" '/spec.version/ { print $$2 }' $(GEMSPEC))
+VERSION=$(shell awk -F\" '/VERSION =/ { print $$2 }' lib/fpm/version.rb)
NAME=$(shell awk -F\" '/spec.name/ { print $$2 }' $(GEMSPEC))
GEM=$(NAME)-$(VERSION).gem

0 comments on commit 4c05d2a

Please sign in to comment.
Something went wrong with that request. Please try again.