summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-06-02 06:20:05 +0200
committerRichard Levitte <levitte@openssl.org>2021-06-03 09:18:54 +0200
commitcbba082fc071de82ffb53844586cdcc26251e32b (patch)
tree2ab123fbbd9457a1dc3d70cb72a7758cffb37983 /util
parentba3ea453b0863a8b7374003dd2e22dea9cece5be (diff)
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)
Diffstat (limited to 'util')
-rw-r--r--util/mknum.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/mknum.pl b/util/mknum.pl
index 92435a8712..284fe891ef 100644
--- a/util/mknum.pl
+++ b/util/mknum.pl
@@ -89,9 +89,9 @@ foreach my $f (($symhacks_file // (), @ARGV)) {
}
# 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,
-# all symbols MUST have an assigned number.
-if ($version !~ m/^\d+\.\d+\.\d+(?:[a-z]+)?-(?:dev|alpha)/) {
+# symbols without specific numbers assigned. In beta or final release, all
+# symbols MUST have an assigned number.
+if ($version !~ m/^\d+\.\d+\.\d+(?:-alpha|(?:-.*?)?-dev$)/) {
$ordinals->renumber();
}