Skip to content

Commit 63f8de2

Browse files
committed
Tweaked the mkrelease script to work with svn 1.8, (in addition to previous 1.6).
- Legacy-Id: 9029
1 parent 7ecfac6 commit 63f8de2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/mkrelease

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ sed -r -i -e "1,/^ -- /s/([A-Za-z-]+ <[a-z0-9.-]+@[a-z0-9.-]+> ).*$/\1$(TZ=UTC
180180
note " $(grep -m1 "^ -- " changelog)"
181181

182182
note "Verifying that version $VER doesn't already exist..."
183-
$do svn info $REPO/tags/$VER 2>&1 | $do grep -q "Not a valid URL" || die "The tag '$VER' already exists (or there was an error testing for it)."
183+
$do svn info $REPO/tags/$VER 2>&1 | $do egrep -q "(Not a valid URL|URL .* non-existent)" || die "The tag '$VER' already exists (or there was an error testing for it)."
184184
note " Ok"
185185

186186
note "Committing the changelog..."

0 commit comments

Comments
 (0)