File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ set -x # Print command traces before executing command.
1515# Check whether the Upcoming release header is present
1616head -1 CHANGES | grep -q Upcoming
1717UPCOMING=$?
18- if [[ " $UPCOMING " == " 0" ]]; then
19- head -n3 CHANGES >> newchanges
20- fi
2118
2219# Elaborate today's release header
2320HEADER=" $1 ($( date ' +%B %d, %Y' ) )"
@@ -30,8 +27,9 @@ git log --grep="Merge pull request" `git describe --tags --abbrev=0`..HEAD --pre
3027echo " " >> newchanges
3128echo " " >> newchanges
3229
33- # Add back the Upcoming header if it was present
30+ # Append old CHANGES
3431if [[ " $UPCOMING " == " 0" ]]; then
32+ # Drop the Upcoming title if present
3533 tail -n+4 CHANGES >> newchanges
3634else
3735 cat CHANGES >> newchanges
You can’t perform that action at this time.
0 commit comments