Permalink
Browse files

Version number isn't float

  • Loading branch information...
1 parent 221d5cf commit 87a4b784c9ade1e65860b53bf4c3c296239329c7 @dbr committed Nov 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -50,7 +50,7 @@ desc "Upload current version to PyPi"
task :topypi => :test do
cur_file = File.open("tvdb_api.py").read()
tvdb_api_version = cur_file.scan(/__version__ = "(.*)"/)
- tvdb_api_version = tvdb_api_version[0][0].to_f
+ tvdb_api_version = tvdb_api_version[0][0]
puts "Build sdist and send tvdb_api v#{tvdb_api_version} to PyPi?"
if $stdin.gets.chomp == "y"

0 comments on commit 87a4b78

Please sign in to comment.