forked from toolshed/abra
		
	fix: commit changes if dry-run not present (recipe release)
This commit is contained in:
		| @ -239,12 +239,10 @@ func commitRelease(recipe recipe.Recipe, tag string) error { | |||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	if internal.Publish { | 	msg := fmt.Sprintf("chore: publish %s release", tag) | ||||||
| 		msg := fmt.Sprintf("chore: publish %s release", tag) | 	repoPath := path.Join(config.RECIPES_DIR, recipe.Name) | ||||||
| 		repoPath := path.Join(config.RECIPES_DIR, recipe.Name) | 	if err := gitPkg.Commit(repoPath, ".", msg, internal.Dry); err != nil { | ||||||
| 		if err := gitPkg.Commit(repoPath, "compose.**yml", msg, internal.Dry); err != nil { | 		return err | ||||||
| 			return err |  | ||||||
| 		} |  | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	return nil | 	return nil | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user