mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	added in-deploy flag @ rollback task.
This commit is contained in:
		
							parent
							
								
									5eb26748ab
								
							
						
					
					
						commit
						a632dac80a
					
				@ -55,6 +55,8 @@ class RollbackTask extends AbstractTask implements IsReleaseAware
 | 
			
		||||
            $result = $this->runCommandRemote('ls -1 ' . $releasesDirectory, $output);
 | 
			
		||||
            $releases = ($output == '') ? array() : explode(PHP_EOL, $output);
 | 
			
		||||
 | 
			
		||||
            $inDeploy = $this->getParameter('inDeploy',false);
 | 
			
		||||
 | 
			
		||||
            if (count($releases) == 0) {
 | 
			
		||||
                Console::output('Release are not available for <bold>' . $this->getConfig()->getHost() . '</bold> ... <red>FAIL</red>');
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user