mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-25 15:52:25 -04:00 
			
		
		
		
	Only rebuild when transitioning between master and qt6
This commit is contained in:
		
							parent
							
								
									58b35b8923
								
							
						
					
					
						commit
						c996912602
					
				| @ -19,7 +19,7 @@ os.chdir(base) | ||||
| if flags == '1':  # A branch checkout | ||||
|     prev_branch, cur_branch = list(map(get_branch_name, (prev_rev, current_rev))) | ||||
| 
 | ||||
|     if 'qt6' in (prev_branch, cur_branch): | ||||
|     if {prev_branch, cur_branch} == {'master', 'qt6'}: | ||||
|         os.rename('bypy/b/other-b', 'bypy/c') | ||||
|         os.rename('bypy/b', 'bypy/c/other-b') | ||||
|         os.rename('bypy/c', 'bypy/b') | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user