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:
 | 
				
			||||||
      'docs/usage/ci-configuration.md#authentication'
 | 
					 - a misconfiguration of the [repositoryUrl](${linkify('docs/usage/configuration.md#repositoryurl')}) option
 | 
				
			||||||
    )}) to configure the Git credentials on your CI environment and make sure the [repositoryUrl](${linkify(
 | 
					 - the repository being unavailable
 | 
				
			||||||
      'docs/usage/configuration.md#repositoryurl'
 | 
					 - or missing push permission for the user configured via the [Git credentials on your CI environment](${linkify(
 | 
				
			||||||
    )}) is configured with a [valid Git URL](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols).`,
 | 
					   'docs/usage/ci-configuration.md#authentication'
 | 
				
			||||||
 | 
					 )})`,
 | 
				
			||||||
  }),
 | 
					  }),
 | 
				
			||||||
  EINVALIDTAGFORMAT: ({tagFormat}) => ({
 | 
					  EINVALIDTAGFORMAT: ({tagFormat}) => ({
 | 
				
			||||||
    message: 'Invalid `tagFormat` option.',
 | 
					    message: 'Invalid `tagFormat` option.',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user