mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	CICD: Build: Adapt release version regex to bat
All bat tags begin with a small 'v', so no need for a generic pattern in the CI script. This will also help us ensure we keep the same format on future tags.
This commit is contained in:
		
				
					committed by
					
						
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							505ff10dc6
						
					
				
				
					commit
					8832ff3c6a
				
			
							
								
								
									
										2
									
								
								.github/workflows/CICD.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/CICD.yml
									
									
									
									
										vendored
									
									
								
							@@ -124,7 +124,7 @@ jobs:
 | 
			
		||||
        echo ::set-output name=PKG_BASENAME::${PKG_BASENAME}
 | 
			
		||||
        echo ::set-output name=PKG_NAME::${PKG_NAME}
 | 
			
		||||
        # deployable tag? (ie, leading "vM" or "M"; M == version number)
 | 
			
		||||
        unset DEPLOY ; if [[ $REF_TAG =~ ^[vV]?[0-9].* ]]; then DEPLOY='true' ; fi
 | 
			
		||||
        unset DEPLOY ; if [[ $REF_TAG =~ ^v[0-9].* ]]; then DEPLOY='true' ; fi
 | 
			
		||||
        echo ::set-output name=DEPLOY::${DEPLOY}
 | 
			
		||||
        # DPKG architecture?
 | 
			
		||||
        unset DPKG_ARCH
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user