From: Giuseppe Bilotta Date: Mon, 30 Jun 2008 23:48:37 +0000 (+0200) Subject: Version 0.9.11-rc1 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=6b1a398dde91137afe4910f4552a17207678dc08;hp=b26120bc609851042c6e6997fd1a259f79b178f6;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git Version 0.9.11-rc1 --- diff --git a/bin/rbot b/bin/rbot index 26fb79ab..96466f4a 100755 --- a/bin/rbot +++ b/bin/rbot @@ -47,7 +47,7 @@ require 'etc' require 'getoptlong' require 'fileutils' -$version ||= "0.9.11-git" +$version ||= "0.9.11-rc1" $version_timestamp ||= 0 $opts = Hash.new diff --git a/launch_here.rb b/launch_here.rb index b368f4c6..0978ac4f 100755 --- a/launch_here.rb +++ b/launch_here.rb @@ -8,7 +8,7 @@ puts "Running from #{SCM_DIR}" $:.unshift File.join(SCM_DIR, 'lib') -$version = '0.9.11-git' +$version = '0.9.11-rc1' pwd = Dir.pwd begin diff --git a/lib/rbot/rbotconfig.rb b/lib/rbot/rbotconfig.rb index 692113a9..eb55f965 100644 --- a/lib/rbot/rbotconfig.rb +++ b/lib/rbot/rbotconfig.rb @@ -27,7 +27,7 @@ class Bot begin debug "trying to load rubygems" require 'rubygems' - if $version =~ /^(.*)-git( .*)?$/ + if $version =~ /^(.*)-(?:git|rc\d)(?: .*)?$/ version = $1 else version = $version