Removed unused git variables
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/build Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/build Pipeline was successful
				
			This commit is contained in:
		
							
								
								
									
										14
									
								
								plugin.sh
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								plugin.sh
									
									
									
									
									
								
							| @@ -2,20 +2,6 @@ | ||||
|  | ||||
| set -euo pipefail | ||||
|  | ||||
| if [[ -z "${CI_COMMIT_AUTHOR}" ]]; then | ||||
| 	export CI_COMMIT_AUTHOR=drone | ||||
| fi | ||||
|  | ||||
| if [[ -z "${CI_COMMIT_AUTHOR_EMAIL}" ]]; then | ||||
| 	export CI_COMMIT_AUTHOR_EMAIL=bot@odit.services | ||||
| fi | ||||
| echo "Setting git user to ${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>" | ||||
|  | ||||
| export GIT_AUTHOR_NAME=${CI_COMMIT_AUTHOR} | ||||
| export GIT_AUTHOR_EMAIL=${CI_COMMIT_AUTHOR_EMAIL} | ||||
| export GIT_COMMITTER_NAME=${CI_COMMIT_AUTHOR} | ||||
| export GIT_COMMITTER_EMAIL=${CI_COMMIT_AUTHOR_EMAIL} | ||||
|  | ||||
| CURRENTTAG=$(git tag --sort=-creatordate | head -n 1) | ||||
| PREVIOUSTAG=$(git tag --sort=-creatordate | head -n 2 | tail -n 1) | ||||
| echo "Diff: $PREVIOUSTAG..$CURRENTTAG" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user