diff --git a/lib/compass/version.rb b/lib/compass/version.rb index 62400105..f7eaa141 100644 --- a/lib/compass/version.rb +++ b/lib/compass/version.rb @@ -24,7 +24,8 @@ module Compass require 'yaml' @version = YAML::load(File.read(scope('VERSION.yml'))) @version[:teeny] = @version[:patch] - @version[:string] = "#{@version[:major]}.#{@version[:minor]}.#{@version[:patch]}" + @version[:string] = "#{@version[:major]}.#{@version[:minor]}" + @version[:string] << ".#{@version[:patch]}" if @version[:patch] @version[:string] << ".#{@version[:state]}" if @version[:state] @version[:string] << ".#{@version[:build]}" if @version[:build] if !ENV['OFFICIAL'] && r = revision