Add make update-fips-checksums to release.sh script
Fixes #15223
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15271)
diff --git a/dev/release.sh b/dev/release.sh
index 7a1ee4d..14a3d44 100755
--- a/dev/release.sh
+++ b/dev/release.sh
@@ -30,7 +30,7 @@
key (default: use the default e-mail address’ key).
--no-upload Don't upload to upload@dev.openssl.org.
---no-update Don't perform 'make update'.
+--no-update Don't perform 'make update' and 'make update-fips-checksums'.
--verbose Verbose output.
--debug Include debug output. Implies --no-upload.
@@ -319,10 +319,12 @@
./Configure cc >&42
-$VERBOSE "== Checking source file updates"
+$VERBOSE "== Checking source file updates and fips checksums"
make update >&42
+make update-fips-checksums >&42
+
if [ -n "$(git status --porcelain)" ]; then
$VERBOSE "== Committing updates"
git add -u
@@ -337,7 +339,7 @@
if $do_branch; then
$VERBOSE "== Creating a local update branch: $tmp_update_branch"
git branch $git_quiet "$tmp_update_branch"
-fi
+fi
# Write the version information we updated
set_version
@@ -410,7 +412,7 @@
-e "s|\\\$sha256hash|$sha256hash|" \
| perl -p "$HERE/dev/release-aux/fix-title.pl" \
> "../$announce"
-
+
$VERBOSE "== Generating signatures: $tgzfile.asc $announce.asc"
rm -f "../$tgzfile.asc" "../$announce.asc"
echo "Signing the release files. You may need to enter a pass phrase"
@@ -508,7 +510,7 @@
git push parent HEAD
# Done ###############################################################
-
+
$VERBOSE "== Done"
cd $HERE
@@ -697,7 +699,7 @@
=item B<--no-update>
-Don't run C<make update>.
+Don't run C<make update> and C<make update-fips-checksums>.
=item B<--verbose>