Commit 6c557695 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Get first line of release notes

The previous version of release-version.sh was dropping the first
line of the release notes. This change adds that first line to
the release notes.
parent 0c21bd7f
......@@ -90,8 +90,8 @@ fi
echo -n "Extracting notes for $version..."
version_notes=`sed -n "/# $version/,/# [0-9]/{
/# [0-9]/d
s/^# //
s/^# $version *//
/^# [0-9]/d
s/^# *//
p
}" UseLATEX.cmake`
......@@ -105,6 +105,8 @@ else
echo "Make sure an item has been added to the release history."
ask_keep_going
fi
version_notes="
$version_notes"
echo -n "Checking that the working directory is clean..."
if [ -z "`git status --porcelain`" ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment