Skip to content

Commit

Permalink
release.pl: point releases don't require new pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 9, 2015
1 parent d956ac7 commit 1d1a24b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/release.pl
Expand Up @@ -128,8 +128,10 @@ ($$)
pod2usage("No version change");
}

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

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

0 comments on commit 1d1a24b

Please sign in to comment.