Bail out if versions match
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			Closes https://git.autonomic.zone/coop-cloud/abra/issues/87.
This commit is contained in:
		
							
								
								
									
										5
									
								
								abra
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								abra
									
									
									
									
									
								
							@ -912,6 +912,11 @@ sub_app_deploy (){
 | 
				
			|||||||
  version_msg="  Version: $(tput setaf 2)${ABRA_TYPE_VERSION} (digest: ${ABRA_TYPE_DIGEST})$(tput sgr0)"
 | 
					  version_msg="  Version: $(tput setaf 2)${ABRA_TYPE_VERSION} (digest: ${ABRA_TYPE_DIGEST})$(tput sgr0)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if [ -n "$deployed_version" ] && [ -n "$deployed_digest" ]; then
 | 
					  if [ -n "$deployed_version" ] && [ -n "$deployed_digest" ]; then
 | 
				
			||||||
 | 
					    if [ "$ABRA_TYPE_VERSION" == "$deployed_version" ] && [ "$ABRA_TYPE_DIGEST" == "$deployed_digest" ]; then
 | 
				
			||||||
 | 
					      success "Nothing to deploy right now. Congratulations, you're on the latest version"
 | 
				
			||||||
 | 
					      exit 0
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    require_consent_for_update
 | 
					    require_consent_for_update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if [ "$ABRA_TYPE_VERSION" != "$deployed_version" ]; then
 | 
					    if [ "$ABRA_TYPE_VERSION" != "$deployed_version" ]; then
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user