- - commit all changes
- - tag this release as v$version
- - remove hard-linked top-level files for outdated version$skipping
- - hard-link src files into top-level dir$skipping
+ - commit all version changes
+ - merge the $master_branch branch into the patch/* branches
+ - update the files in the "patches" dir and OPTIONALLY
+ (if you type 'y') to launch a shell for each patch
+
+EOT
+print "<Press Enter OR 'y' to continue> ";
+my $ans = <STDIN>;
+
+system "git commit -a -m 'Preparing for release of $version'" and exit 1;
+
+print "Updating files in \"patches\" dir ...\n";
+system "packaging/patch-update --branch=$master_branch";
+
+if ($ans =~ /^y/i) {
+ print "\nVisiting all \"patch/*\" branches ...\n";
+ system "packaging/patch-update --branch=$master_branch --shell";
+}
+
+print $break, <<EOT;
+
+About to:
+ - create signed tag for this release: v$version
+ - create release diffs, "$diff_name"