mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
fix(Rakefile): version.dot extractor should ignore 'rc1'
This commit is contained in:
parent
716b5fd3e2
commit
c70ead0aa1
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue