diff options
author | Matt Caswell <matt@openssl.org> | 2021-06-24 16:07:03 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-29 09:51:30 +1000 |
commit | 6ee4741281f032e13423a1e05c4fb9a90454e748 (patch) | |
tree | 48c40c37f2b8a89d63e5fb12456d181ec1852cdf /dev | |
parent | 52f5407dc1ed67d0baace3c39b69bc9f07f4454a (diff) |
Ensure ordinals are created during release process
We introduce a new makefile target "make release-update" that forces
ordinal file renumbering, and also does the fips checksum updates. We
then call that from the release script.
Fixes #15806
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15901)
Diffstat (limited to 'dev')
-rwxr-xr-x | dev/release.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev/release.sh b/dev/release.sh index 14a3d445c6..bf5aa8af35 100755 --- a/dev/release.sh +++ b/dev/release.sh @@ -322,7 +322,12 @@ echo "== Configuring OpenSSL for update and release. This may take a bit of tim $VERBOSE "== Checking source file updates and fips checksums" make update >&42 - +# As long as we're doing an alpha release, we can have symbols without specific +# numbers assigned. In a beta or final release, all symbols MUST have an +# assigned number. +if [ "$next_method" != 'alpha' ]; then + make renumber >&42 +fi make update-fips-checksums >&42 if [ -n "$(git status --porcelain)" ]; then |