Skip to content

Commit 2c95e0e

Browse files
committed
Added a check for new migrations which haven't been added to the repository.
- Legacy-Id: 14208
1 parent d7618ce commit 2c95e0e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bin/mkrelease

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ changes=$( sed -n "/^$PROJ ($VER.*)/,/^ -- /p" changelog )
178178
[ "$changes" ] || die "No changelog information for $VER found"
179179
#note "$changes"
180180

181+
note "Checking for migrations not in SVN"
182+
$do svn st | grep "^[?] .*/migrations/[0-9].*\.py$" && die "There seems to be new migrations which aren't in SVN"
183+
181184
if [ -z "$PERMIT_MIGR_MIX" ]; then
182185
note "Checking that we don't have both schema and data migrations ..."
183186
cur=$(svn info | awk '/^Revision:/ { print $2 }')

0 commit comments

Comments
 (0)