mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Support preview release
Also add tag property.
This commit is contained in:
parent
f31b7f0522
commit
7a816b5fc8
1 changed files with 3 additions and 1 deletions
|
@ -175,8 +175,10 @@ eom
|
|||
post: /en/news/#{date.strftime("%Y/%m/%d")}/ruby-#{ver.tr('.', '-')}-released/
|
||||
eom
|
||||
|
||||
if ver.end_with?(".0")
|
||||
if /\.0(?:-\w+)\z/ =~ ver
|
||||
# preview, rc, or first release
|
||||
entry <<= <<eom
|
||||
tag: ruby_#{ver.tr('.-', '_')}
|
||||
stats:
|
||||
files_changed: #{files_changed}
|
||||
insertions: #{insertions}
|
||||
|
|
Loading…
Add table
Reference in a new issue