mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
util/mknum.pl: Really allow unset ordinals in development
Any pre-release tag that includes '-dev' is development. The ordinals don't need to be finalized before '-dev' is removed (i.e. a release is made). Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15578)
This commit is contained in:
parent
ba3ea453b0
commit
cbba082fc0
@ -89,9 +89,9 @@ foreach my $f (($symhacks_file // (), @ARGV)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# As long as we're running in development or alpha releases, we can have
|
# As long as we're running in development or alpha releases, we can have
|
||||||
# symbols without specific numbers assigned. When in beta or final release,
|
# symbols without specific numbers assigned. In beta or final release, all
|
||||||
# all symbols MUST have an assigned number.
|
# symbols MUST have an assigned number.
|
||||||
if ($version !~ m/^\d+\.\d+\.\d+(?:[a-z]+)?-(?:dev|alpha)/) {
|
if ($version !~ m/^\d+\.\d+\.\d+(?:-alpha|(?:-.*?)?-dev$)/) {
|
||||||
$ordinals->renumber();
|
$ordinals->renumber();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user