Commit 131d7f0b authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'baotang2118-master-patch-24491' into 'master'

Fix error: Could not find a matching version of package

See merge request gitlab-org/gitlab!50614
parents 42620468 d1638bfa
...@@ -21,6 +21,11 @@ If you do not have a Composer package, create one and check it in to ...@@ -21,6 +21,11 @@ If you do not have a Composer package, create one and check it in to
a repository. This example shows a GitLab repository, but the repository a repository. This example shows a GitLab repository, but the repository
can be any public or private repository. can be any public or private repository.
WARNING:
If you are using a GitLab repository, the project must have been created from
a group's namespace, rather than a user's namespace. Composer packages
[can't be published to projects created from a user's namespace](https://gitlab.com/gitlab-org/gitlab/-/issues/235467).
1. Create a directory called `my-composer-package` and change to that directory: 1. Create a directory called `my-composer-package` and change to that directory:
```shell ```shell
......
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