Commit 952080c7 authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'john_long-add-version-info-to-composer-package-docs' into 'master'

Add composer version info to composer package docs

See merge request gitlab-org/gitlab!49144
parents 96125e72 a3d533cd
......@@ -70,7 +70,10 @@ so that anyone who can access the project can use the package as a dependency.
Prerequisites:
- A package in a GitLab repository.
- A package in a GitLab repository. Composer packages should be versioned based on
the [Composer specification](https://getcomposer.org/doc/04-schema.md#version).
If the version is not valid, for example, it has three dots (`1.0.0.0`), an
error (`Validation failed: Version is invalid`) occurs when you publish.
- A valid `composer.json` file.
- The Packages feature is enabled in a GitLab repository.
- The project ID, which is on the project's home page.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment