diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-19 00:09:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-19 00:09:05 +0300 |
commit | d7b7232142ffcca72b37f2da76d10a31af4cca94 (patch) | |
tree | 054582069b0626a1efe614918868210ab8b8f04b /doc/user/packages/maven_repository | |
parent | ed16c9434ed73f68f84935b3b283baeacc632200 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/packages/maven_repository')
-rw-r--r-- | doc/user/packages/maven_repository/index.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/user/packages/maven_repository/index.md b/doc/user/packages/maven_repository/index.md index 2d40a623fb8..3460e64c0bd 100644 --- a/doc/user/packages/maven_repository/index.md +++ b/doc/user/packages/maven_repository/index.md @@ -821,6 +821,16 @@ user's home location (in this case the user is `root` since it runs in a Docker container), and Maven will use the configured CI [environment variables](../../../ci/variables/README.md#predefined-environment-variables). +### Version validation + +The version string is validated using the following regex. + +```ruby +\A(\.?[\w\+-]+\.?)+\z +``` + +You can play around with the regex and try your version strings on [this regular expression editor](https://rubular.com/r/rrLQqUXjfKEoL6). + ## Troubleshooting ### Useful Maven command line options |