mirror of
				https://github.com/docker/compose.git
				synced 2025-10-30 18:53:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			213 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			213 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| #
 | |
| # Write the current commit sha to the file GITSHA. This file is included in
 | |
| # packaging so that `docker-compose version` can include the git sha.
 | |
| #
 | |
| set -e
 | |
| git rev-parse --short HEAD > compose/GITSHA
 |