From 83a5bd80708adc6726deac390e405a7b50dec540 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 2 Dec 2022 06:59:58 +0100 Subject: Fix treatment of BUILD_METADATA According to documentation [^1], the BUILD_METADATA from VERSION.dat should be prefixed with a plus sign when used. It is given this treatment in Configure, but not in all other scripts that use VERSION.dat directly. This change fixes that. Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz Reviewed-by: Todd Short (Merged from https://github.com/openssl/openssl/pull/19815) --- NOTES-NONSTOP.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NOTES-NONSTOP.md') diff --git a/NOTES-NONSTOP.md b/NOTES-NONSTOP.md index 586fbabef0..627843babf 100644 --- a/NOTES-NONSTOP.md +++ b/NOTES-NONSTOP.md @@ -186,6 +186,9 @@ following variables: if [ -n "$PRE_RELEASE_TAG" ]; then PRE_RELEASE_TAG="-$PRE_RELEASE_TAG" fi + if [ -n "$BUILD_METADATA" ]; then + BUILD_METADATA="+$BUILD_METADATA" + fi echo "$MAJOR.$MINOR.$PATCH$PRE_RELEASE_TAG$BUILD_METADATA" |\ sed -e 's/[-.+]/_/g' ) -- cgit v1.2.3