File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 122122VER=$1
123123
124124REPO=$( svn info | grep " ^Repository Root:" | awk ' { print $3 }' )
125+ RDATE=$( svn info | grep " ^Last Changed Date:" | awk ' { print $4 "T" $5 $6 }' )
125126RURL=$( svn info | grep " ^URL:" | awk ' { print $2 }' )
126127RDIR=${RURL# $REPO }
128+
127129DIR=${RDIR#/ }
128130if [ -z " $DIR " ]; then
129131 die " Couldn't find anything to release here"
@@ -161,6 +163,11 @@ VER="$(printf %d.%d.%d $MAJOR $MINOR $CHANGE)"
161163NEXT=$(( $CHANGE + 1 ))
162164DEV=" $( printf %d.%d.%d-dev $MAJOR $MINOR $NEXT ) "
163165
166+ note " Checking that there's a recent test-crawler log"
167+ touch -d $RDATE $SRC
168+ TCLOG=$( ls -t $SRC /test-crawl-* .log | head -n 1)
169+ [ $TCLOG -nt $SRC ] || die " Looked for $SRC /test-crawl-*.log, but didn't find one newer than the latest repository commit ($RDATE )"
170+
164171note " Checking that changelog information is available"
165172changes=$( sed -n " /^ietfdb ($VER .*)/,/^ -- /p" changelog )
166173[ " $changes " ] || die " No changelog information for $VER found"
You can’t perform that action at this time.
0 commit comments