diff options
author | Richard Levitte <levitte@openssl.org> | 2022-12-02 06:59:58 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-12-08 07:22:05 +0100 |
commit | 3aad04a02862a9633798da77f32d15f79d2027e6 (patch) | |
tree | d115e55834bf091a427a9cfa5a883cabcac93b06 /NOTES-NONSTOP.md | |
parent | 25b0b21722021573615b2d7d61786f3573334c7d (diff) |
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 <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/19815)
(cherry picked from commit 83a5bd80708adc6726deac390e405a7b50dec540)
Diffstat (limited to 'NOTES-NONSTOP.md')
-rw-r--r-- | NOTES-NONSTOP.md | 3 |
1 files changed, 3 insertions, 0 deletions
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' ) |