mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	centos: fix rpm building for mid-release versions
This commit is contained in:
		
							parent
							
								
									40ecc2a132
								
							
						
					
					
						commit
						f5ca5a3d7c
					
				@ -4,7 +4,7 @@ OUTPUT_DIR=$PWD
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
SOURCE_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]}))
 | 
					SOURCE_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]}))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
VERSION=$(cd "$SOURCE_DIR" && git describe --tags --abbrev=8 --dirty)
 | 
					VERSION=$(cd "$SOURCE_DIR" && git describe --tags --abbrev=8 --dirty | tr - .)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
docker run --rm -i -v $SOURCE_DIR:/root/rpmbuild/SOURCES/laminar-$VERSION:ro -v $OUTPUT_DIR:/output centos:7 bash -xe <<EOS
 | 
					docker run --rm -i -v $SOURCE_DIR:/root/rpmbuild/SOURCES/laminar-$VERSION:ro -v $OUTPUT_DIR:/output centos:7 bash -xe <<EOS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user