From 247cbbc6961508d4c8fee78a98a5ac0a841a67fd Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 27 Aug 2013 23:20:24 -0300 Subject: Fix version number management Made the Rakefile read the version number from lib/feed2imap/feed2imap.rb instead of having it duplicated in both places. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index ead0b27..2a1737a 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ require 'find' task :default => [:test] PKG_NAME = 'feed2imap' -PKG_VERSION = '1.2' +PKG_VERSION = `ruby -Ilib -rfeed2imap/feed2imap -e 'print F2I_VERSION'` PKG_FILES = [ 'ChangeLog', 'README', 'COPYING', 'setup.rb', 'Rakefile'] Find.find('bin/', 'lib/', 'test/', 'data/') do |f| if FileTest.directory?(f) and f =~ /\.svn/ -- cgit v1.2.3