You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -39,20 +41,20 @@ Your configuration for the \`labels\` option is \`${stringify(labels)}\`.`,
39
41
}),
40
42
EINVALIDGITLABURL: ()=>({
41
43
message: 'The git repository URL is not a valid GitLab URL.',
42
-
details: `The **semantic-release** \`repositoryUrl\` option must a valid GitLab URL with the format \`<GitLab_URL>/<repoId>.git\`.
44
+
details: `The **semantic-release** \`repositoryUrl\` option must a valid GitLab URL with the format \`<GitLab_URL>/<projectPath>.git\`.
43
45
44
46
By default the \`repositoryUrl\` option is retrieved from the \`repository\` property of your \`package.json\` or the [git origin url](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) of the repository cloned by your CI environment.`,
45
47
}),
46
-
EINVALIDGLTOKEN: ({repoId})=>({
48
+
EINVALIDGLTOKEN: ({projectPath})=>({
47
49
message: 'Invalid GitLab token.',
48
50
details: `The [GitLab token](${linkify(
49
51
'README.md#gitlab-authentication'
50
-
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must be a valid [personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) allowing to push to the repository ${repoId}.
52
+
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must be a valid [personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) allowing to push to the repository ${projectPath}.
51
53
52
54
Please make sure to set the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable in your CI with the exact value of the GitLab personal token.`,
details: `The **semantic-release** \`repositoryUrl\` option must refer to your GitLab repository. The repository must be accessible with the [GitLab API](https://docs.gitlab.com/ce/api/README.html).
57
59
58
60
By default the \`repositoryUrl\` option is retrieved from the \`repository\` property of your \`package.json\` or the [git origin url](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) of the repository cloned by your CI environment.
@@ -61,21 +63,21 @@ If you are using [GitLab Enterprise Edition](https://about.gitlab.com/gitlab-ee)
61
63
'README.md#options'
62
64
)}).`,
63
65
}),
64
-
EGLNOPUSHPERMISSION: ({repoId})=>({
65
-
message: `The GitLab token doesn't allow to push on the repository ${repoId}.`,
66
+
EGLNOPUSHPERMISSION: ({projectPath})=>({
67
+
message: `The GitLab token doesn't allow to push on the repository ${projectPath}.`,
66
68
details: `The user associated with the [GitLab token](${linkify(
67
69
'README.md#gitlab-authentication'
68
-
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allows to push to the repository ${repoId}.
70
+
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allows to push to the repository ${projectPath}.
69
71
70
-
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${repoId}.`,
72
+
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${projectPath}.`,
71
73
}),
72
-
EGLNOPULLPERMISSION: ({repoId})=>({
73
-
message: `The GitLab token doesn't allow to pull from the repository ${repoId}.`,
74
+
EGLNOPULLPERMISSION: ({projectPath})=>({
75
+
message: `The GitLab token doesn't allow to pull from the repository ${projectPath}.`,
74
76
details: `The user associated with the [GitLab token](${linkify(
75
77
'README.md#gitlab-authentication'
76
-
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allow pull from the repository ${repoId}.
78
+
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allow pull from the repository ${projectPath}.
77
79
78
-
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${repoId}.`,
80
+
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${projectPath}.`,
0 commit comments