Skip to content

Commit a5f9cc8

Browse files
committed
Added sending of mail to interested parties to the mkrelease script
- Legacy-Id: 1286
1 parent fdda7bb commit a5f9cc8

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

test/mkrelease

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ note " Ok"
167167
note "Verifying there's no uncommitted changes..."
168168
$do svn st | grep "^[AMGRD] " && die "There seems to be uncommitted changes in this working copy"
169169

170+
note "Checking that changelog information is available"
171+
changes=$( sed -n "/^ietfdb ($VER.*)/,/^ -- /p" changelog | awk '{ if (line) print line ; line=$$0 }' )
172+
[ "$changes" ] || die "No changelog information for $VER found"
173+
170174
note "\nUpdating the version info in $VERFILE and making sure'\$Rev\$' is Ok"
171175
$do sed -i -r -e "/^__version__/s/\"[.0-9]+(-dev)?\"/\"$VER\"/" \
172176
-e "/^__rev__/s/\".*\"/\"\$Rev:\$\"/" \
@@ -213,3 +217,22 @@ if [ $SRC = "trunk" ]; then
213217
fi
214218

215219
$do svn update
220+
221+
echo "
222+
Hi,
223+
224+
This is an automatic notification about a new datatracker release,
225+
v$VER, generated when running the mkrelease script.
226+
227+
Release notes:
228+
229+
$changes
230+
231+
The new version is available through SVN checkout, with
232+
'svn checkout http://svn.tools.ietf.org/svn/tools/ietfdb/tags/$VER'
233+
234+
Regards,
235+
236+
Henrik
237+
(via the mkrelease script)
238+
" | mail -s "New datatracker release: v$VER" -c henrik@levkowetz.com -c glen@amsl.com codesprints@ietf.org

0 commit comments

Comments
 (0)