Revision 099e826241fca365a120df9bac9a9fede6e7bae4 authored by Kristoffer Carlsson on 17 December 2018, 20:29:32 UTC, committed by Alex Arslan on 18 December 2018, 01:34:45 UTC
This reverts commit 8302431998a6b7e787843430b21f50bb009a617e.
1 parent 89a0705
NEWS-update.jl
# Script to automatically insert Markdown footnotes for all [#xxxx] issue
# cross-references in the NEWS file.
NEWS = get(ARGS, 1, "NEWS.md")
s = read(NEWS, String)
s = s[1:match(r"\[#[0-9]+\]:", s).offset-1];
footnote(n) = "[#$n]: https://github.com/JuliaLang/julia/issues/$n"
N = map(m -> parse(Int,m.captures[1]), eachmatch(r"\[#([0-9]+)\]", s))
foots = join(map(footnote, sort!(unique(N))), "\n")
open(NEWS, "w") do f
println(f, s, foots)
end
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...