forked from toolshed/abra
refactor: use SmallSHA
This commit is contained in:
@ -378,7 +378,7 @@ func ChaosVersion(recipeName string) (string, error) {
|
||||
return version, err
|
||||
}
|
||||
|
||||
version = head.String()[:8]
|
||||
version = formatter.SmallSHA(head.String())
|
||||
|
||||
recipeDir := path.Join(config.RECIPES_DIR, recipeName)
|
||||
isClean, err := gitPkg.IsClean(recipeDir)
|
||||
|
Reference in New Issue
Block a user