Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix packaging script

  • Loading branch information...
commit ab9a95e7ebb6805ec8951ba0fab544258ecec4fd 1 parent 1ccdf73
@chneukirchen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Rakefile
View
2  Rakefile
@@ -21,11 +21,13 @@ end
def git_tree_version
if File.directory?(".git")
@tree_version ||= `git describe`.strip.sub('-', '.')
+ @tree_version << ".0" unless @tree_version.count('.') == 2
else
$: << "lib"
require 'rack'
@tree_version = Rack.release
end
+ @tree_version
end
def gem_version

0 comments on commit ab9a95e

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