fix: clarify message for EGITNOPERMISSION error
This commit is contained in:
parent
9f2ec79d67
commit
79d22a2556
@ -27,16 +27,17 @@ Please make sure to add the \`repositoryUrl\` to the [semantic-release configura
|
|||||||
)}).`,
|
)}).`,
|
||||||
}),
|
}),
|
||||||
EGITNOPERMISSION: ({options}) => ({
|
EGITNOPERMISSION: ({options}) => ({
|
||||||
message: 'The push permission to the Git repository is required.',
|
message: 'Cannot push to the Git repository.',
|
||||||
details: `**semantic-release** cannot push the version tag to the branch \`${
|
details: `**semantic-release** cannot push the version tag to the branch \`${
|
||||||
options.branch
|
options.branch
|
||||||
}\` on remote Git repository with URL \`${options.repositoryUrl}\`.
|
}\` on the remote Git repository with URL \`${options.repositoryUrl}\`.
|
||||||
|
|
||||||
Please refer to the [authentication configuration documentation](${linkify(
|
This can be caused by:
|
||||||
|
- a misconfiguration of the [repositoryUrl](${linkify('docs/usage/configuration.md#repositoryurl')}) option
|
||||||
|
- the repository being unavailable
|
||||||
|
- or missing push permission for the user configured via the [Git credentials on your CI environment](${linkify(
|
||||||
'docs/usage/ci-configuration.md#authentication'
|
'docs/usage/ci-configuration.md#authentication'
|
||||||
)}) to configure the Git credentials on your CI environment and make sure the [repositoryUrl](${linkify(
|
)})`,
|
||||||
'docs/usage/configuration.md#repositoryurl'
|
|
||||||
)}) is configured with a [valid Git URL](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols).`,
|
|
||||||
}),
|
}),
|
||||||
EINVALIDTAGFORMAT: ({tagFormat}) => ({
|
EINVALIDTAGFORMAT: ({tagFormat}) => ({
|
||||||
message: 'Invalid `tagFormat` option.',
|
message: 'Invalid `tagFormat` option.',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user