зеркало из https://github.com/github/gitscm-old.git
Merge pull request #20 from wereHamster/only-store-stable-release-versions
Only store stable release versions
This commit is contained in:
Коммит
f197c3f466
|
@ -28,7 +28,7 @@ class Version
|
|||
commits = get("/repos/gitster/git/commits", :query => {:sha => maint_sha}).parsed_response
|
||||
commits.each do |commit|
|
||||
message = commit['commit']['message'].split("\n").first
|
||||
if m = /^Git (.*?)$/.match(message)
|
||||
if m = /^Git ([0-9.]+)$/.match(message)
|
||||
version = m[1]
|
||||
p commit['sha']
|
||||
if !Version.first(:version => version)
|
||||
|
|
Загрузка…
Ссылка в новой задаче