fix: Set GIT_BRANCH variable in release
This commit is contained in:
		
							parent
							
								
									d5e975ccaa
								
							
						
					
					
						commit
						c2c3e2bba8
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -70,6 +70,7 @@ deploy_to_tags:
 | 
				
			||||||
    - export GIT_AUTHOR_EMAIL=$GITLAB_USER_EMAIL
 | 
					    - export GIT_AUTHOR_EMAIL=$GITLAB_USER_EMAIL
 | 
				
			||||||
    - export GIT_COMMITTER_NAME=$GITLAB_USER_NAME
 | 
					    - export GIT_COMMITTER_NAME=$GITLAB_USER_NAME
 | 
				
			||||||
    - export GIT_COMMITTER_EMAIL=$GITLAB_USER_EMAIL
 | 
					    - export GIT_COMMITTER_EMAIL=$GITLAB_USER_EMAIL
 | 
				
			||||||
 | 
					    - export GIT_BRANCH=$CI_COMMIT_REF_NAME
 | 
				
			||||||
    - git config user.email $GITLAB_USER_EMAIL
 | 
					    - git config user.email $GITLAB_USER_EMAIL
 | 
				
			||||||
    - git config user.name $GITLAB_USER_NAME
 | 
					    - git config user.name $GITLAB_USER_NAME
 | 
				
			||||||
    - npm install --no-save
 | 
					    - npm install --no-save
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,7 +28,6 @@
 | 
				
			||||||
    "semantic-release": "^17.4.4"
 | 
					    "semantic-release": "^17.4.4"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "release": {
 | 
					  "release": {
 | 
				
			||||||
    "branches": ["master"],
 | 
					 | 
				
			||||||
    "plugins": [
 | 
					    "plugins": [
 | 
				
			||||||
      "@semantic-release/commit-analyzer"
 | 
					      "@semantic-release/commit-analyzer"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue