From a35a675fa7ceedc0eebbd0e6a97541e145ccf208 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 13 Oct 2007 12:10:08 +0100 Subject: start version marking interim releases --- conf/sisu/version.yml | 2 +- lib/sisu/v0/param.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/sisu/version.yml b/conf/sisu/version.yml index 0ed73acd..9679b31b 100644 --- a/conf/sisu/version.yml +++ b/conf/sisu/version.yml @@ -1,5 +1,5 @@ --- -:version: 0.61.0 +:version: 0.61.1-pre :date_stamp: 2007w41/5 :date: "2007-10-12" :project: SiSU diff --git a/lib/sisu/v0/param.rb b/lib/sisu/v0/param.rb index 90aad6aa..194c42f9 100644 --- a/lib/sisu/v0/param.rb +++ b/lib/sisu/v0/param.rb @@ -209,7 +209,7 @@ module SiSU_Param sv=if @cmd =~/[VMv]/; "SiSU version (#{@sisu_version[:version]})" else '' end - s_a,s_b,s_c=@sisu_version[:version].match(/^([0-9]+)?(?:\.([0-9]+))?(?:\.([0-9]+))?$/)[1..3] + s_a,s_b,s_c=@sisu_version[:version].match(/^([0-9]+)?(?:\.([0-9]+))?(?:\.([0-9]+))?(?:\-\S+)?$/)[1..3] tell=if @markup_version_declared.to_f == @markup_version.to_f SiSU_Screen::Ansi.new(@cmd,"Markup version (#@markup_version)",sv) else -- cgit v1.2.3