Skip to content

Commit 1d1a24b

Browse files
committed
release.pl: point releases don't require new pictures
1 parent d956ac7 commit 1d1a24b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/release.pl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ ($$)
128128
pod2usage("No version change");
129129
}
130130

131-
pod2usage("Splash images/splash/splash-$newmajor.$newminor.png not found") unless -r "images/splash/splash-$newmajor.$newminor.png";
132-
pod2usage("NSIS image ms-windows/Installer-Files/WelcomeFinishPage-$newmajor.$newminor.bmp not found") unless -r "ms-windows/Installer-Files/WelcomeFinishPage-$newmajor.$newminor.bmp";
131+
unless( $dopoint ) {
132+
pod2usage("Splash images/splash/splash-$newmajor.$newminor.png not found") unless -r "images/splash/splash-$newmajor.$newminor.png";
133+
pod2usage("NSIS image ms-windows/Installer-Files/WelcomeFinishPage-$newmajor.$newminor.bmp not found") unless -r "ms-windows/Installer-Files/WelcomeFinishPage-$newmajor.$newminor.bmp";
134+
}
133135

134136
print "Last pull rebase...\n";
135137
run( "git pull --rebase", "git pull rebase failed" );
@@ -220,4 +222,8 @@ =head1 SYNOPSIS
220222
-releasename=name new release name for master/minor release
221223
-ltr new release is a long term release
222224
-dryrun just echo but don't run any commands
225+
226+
Major and minor releases also require a new splash screen
227+
images/splash/splash-M.N.png and bitmap for the NSIS
228+
installer ms-windows/Installer-Files/WelcomeFinishPage-M.N.bmp.
223229
=cut

0 commit comments

Comments
 (0)