mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix filename
This commit is contained in:
parent
09216f63ba
commit
67fe290bb3
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ confirm_w_r_l_o_wd
|
||||||
|
|
||||||
# Write release note article
|
# Write release note article
|
||||||
path = Time.parse(src[/^date: (.*)/, 1]).
|
path = Time.parse(src[/^date: (.*)/, 1]).
|
||||||
strftime("./#{src[/^lang: (\w+)/, 1]}/news/_posts/%Y-%m-%d-ruby-#{version}-released.md")
|
strftime("./#{src[/^lang: (\w+)/, 1]}/news/_posts/%Y-%m-%d-ruby-#{version.tr('.', '-')}-released.md")
|
||||||
puts path
|
puts path
|
||||||
File.write(path, src)
|
File.write(path, src)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue