diff options
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ task :make => [:build, :make_gem] BUILD_FILE = 'build'
task :build do
- $version.sub!(/\d+$/) { |minor| minor.to_i - 1 }
+ $version.sub!(/\.(\d+)\./) { minor = $1; ".#{minor.to_i - 1}." }
$version << '.' << (`svn info`[/Revision: (\d+)/,1])
end
|
