Support for release candidates in the version.json file; propagates up through the version string everywhere: filenames, ZIP, source code

This commit is contained in:
Davis W. Frank
2011-06-15 18:37:12 -07:00
parent 6b2e45eab5
commit ae24e00c0f
8 changed files with 32 additions and 18 deletions

View File

@@ -29,7 +29,9 @@ def console_specfiles
end
def version_string
"#{version_hash['major']}.#{version_hash['minor']}.#{version_hash['build']}"
version = "#{version_hash['major']}.#{version_hash['minor']}.#{version_hash['build']}"
version += ".rc#{version_hash['rc']}" if version_hash['rc']
version
end
def version_hash