-
- Downloads
Change implementation of docsUrl to handle RC suffixes for EE versions (#18270)
Change implementation of docsUrl to handle RC suffixes for EE versions Change the regex used to test the tag to detect any OSS or EE version, including (possibly) an arbitrary suffix after the major and minor parts, and normalize to the major OSS equivalent version instead. If the suffix, OTOH, is `-SNAPSHOT` (ignoring case), then the doc tag will be `latest`, on the theory that this is as local development build. v0.41.0 => v0.41 v1.41.1 => v0.41 v1.41.2-RC1 => v0.41 v1.42.0-SNAPSHOT => latest Adding unit tests for all cases Update behavior so that -SNAPSHOT suffix points to "latest"
Please register or sign in to comment