Fix edge case when the version is a pre-release
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/452171 **Problem** Previous changes https://gitlab.com/gitlab-org/gitlab/-/issues/441804 to Changelog API logic introduced a bug to the version detection. Before we allowed to provide any valid semantic version as a `version` value. But now it rejects versions with pre-release identifier. **Solution** Fix the bug and permit versions with a pre-release as a `version` argument.
想要评论请 注册 或 登录