summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@softwarelivre.org>2013-08-27 23:20:24 -0300
committerAntonio Terceiro <terceiro@softwarelivre.org>2013-08-27 23:20:24 -0300
commit247cbbc6961508d4c8fee78a98a5ac0a841a67fd (patch)
tree4f3b45e30feecf1067a2d0746c2961fb6aac76d4 /Rakefile
parenta1b2e9080f53a3db984f4297d8f19892d6582d37 (diff)
downloadfeed2imap-247cbbc6961508d4c8fee78a98a5ac0a841a67fd.tar.gz
feed2imap-247cbbc6961508d4c8fee78a98a5ac0a841a67fd.tar.bz2
feed2imap-247cbbc6961508d4c8fee78a98a5ac0a841a67fd.zip
Fix version number management
Made the Rakefile read the version number from lib/feed2imap/feed2imap.rb instead of having it duplicated in both places.
Diffstat (limited to '')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
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/