I noticed an issue with build-aux/do-release-commit-and-tag when calling it directly. I was able to work around it by passing --stub-lines=1,3
However, the default value of 3 in the script (and the comment in maint.mk suggesting ranges/values not including the first line are supported) look wrong. The issue is that the determination of the matching line is based on the range passed to the awk check, whereas the check in the perl script to update NEWS is based on the offset in the file. The simplest would be to change --stub-lines to be a count, and always use the first count lines then in the check and the perl update. cheers, Padraig
