Commit b982d5e8a930693fc0edd181cbda552be5ab433c

Authored by Antonio Terceiro
1 parent 0cd8f0eb

Noosfero::VERSION: normalize RC versions from git tags

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/version.rb
... ... @@ -5,5 +5,5 @@ end
5 5  
6 6 root = File.expand_path(File.dirname(__FILE__) + '/../..')
7 7 if File.exist?(File.join(root, '.git'))
8   - Noosfero::VERSION.clear << Dir.chdir(root) { `git describe --tags`.strip }
  8 + Noosfero::VERSION.clear << Dir.chdir(root) { `git describe --tags`.strip.sub('-rc', '~rc') }
9 9 end
... ...