Skip to content

Commit

Permalink
fix(Rakefile): version.dot extractor should ignore 'rc1'
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Mar 14, 2012
1 parent 716b5fd commit c70ead0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ task :init do
new(match[1] + (match[2] ? ('-' + %x(git rev-parse HEAD)[0..7]) : ''),
match[1].split('.')[0],
match[1].split('.')[1],
match[1].split('.')[2],
match[1].split('.')[2].sub(/\D+.*$/, ''),
v['codename'])
end

Expand Down

0 comments on commit c70ead0

Please sign in to comment.