fix: only run group on matched
This commit is contained in:
		
							parent
							
								
									4a56cd81aa
								
							
						
					
					
						commit
						822882f556
					
				|  | @ -35,7 +35,7 @@ func getCommitMsg() (msg string, err error) { | ||||||
| func generateStages(conf Conf, group string) ([]stage.Stage, error) { | func generateStages(conf Conf, group string) ([]stage.Stage, error) { | ||||||
| 	stages := []stage.Stage{} | 	stages := []stage.Stage{} | ||||||
| 	for _, s := range conf.Stages { | 	for _, s := range conf.Stages { | ||||||
| 		if s.Group != "" && group != "" && group != s.Group { | 		if s.Group != "" && group != s.Group { | ||||||
| 			continue | 			continue | ||||||
| 		} | 		} | ||||||
| 		var cmds []stage.Cmd | 		var cmds []stage.Cmd | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user