https://github.com/CGAL/cgal
Raw File
Tip revision: efb6794a6c8f29c9b92b850eef9065d9bae47f8c authored by Mael Rouxel-Labbé on 12 March 2018, 10:14:23 UTC
Add a test
Tip revision: efb6794
update_CHANGES
#!/bin/sh

if html2text -rcfile html2textrc changes.html > CHANGES; then
  sed -i -e '0,/===============================================================================/ d' CHANGES
  sed -i -e '0,/===============================================================================/ d' CHANGES
fi
exit # remove this line to test the generation of CHANGES.md
if pandoc changes.html -t markdown-raw_html-native_divs-native_spans -o CHANGES.md; then
  sed -i -e '0,/^------------------------------------------------------------------------$/ d' CHANGES.md
  sed -i -e '0,/^------------------------------------------------------------------------$/ d' CHANGES.md
fi    

back to top