diff --git a/VERSION.yml b/VERSION.yml index 7d472c35..a121ef30 100644 --- a/VERSION.yml +++ b/VERSION.yml @@ -1,4 +1,6 @@ --- :patch: 0 :major: 0 -:minor: 10 +:minor: 11 +:state: alpha +:build: 0 diff --git a/lib/compass/version.rb b/lib/compass/version.rb index 1edc400c..62400105 100644 --- a/lib/compass/version.rb +++ b/lib/compass/version.rb @@ -25,9 +25,10 @@ module Compass @version = YAML::load(File.read(scope('VERSION.yml'))) @version[:teeny] = @version[:patch] @version[:string] = "#{@version[:major]}.#{@version[:minor]}.#{@version[:patch]}" + @version[:string] << ".#{@version[:state]}" if @version[:state] @version[:string] << ".#{@version[:build]}" if @version[:build] if !ENV['OFFICIAL'] && r = revision - @version[:string] << ".dev.#{r[0..6]}" + @version[:string] << ".#{r[0..6]}" end @version end