mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	Apply the pre-commit hook whitespace fixes to all files in the repo. (Line endings, blank lines at end of file, trailing whitespace)
		
			
				
	
	
		
			14 lines
		
	
	
		
			296 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			296 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# gitlab-ci script to push current tested revision (tag or branch) to github
 | 
						|
 | 
						|
set -ex
 | 
						|
 | 
						|
if [ -n "${CI_COMMIT_TAG}" ]; then
 | 
						|
    # for tags
 | 
						|
    git push github "${CI_COMMIT_TAG}"
 | 
						|
else
 | 
						|
    # for branches
 | 
						|
    git push github "${CI_COMMIT_SHA}:refs/heads/${CI_COMMIT_REF_NAME}"
 | 
						|
fi
 |