refactor: use SmallSHA

This commit is contained in:
2021-12-30 00:41:21 +01:00
parent 7460668ef4
commit 62441acf03
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ func DeployAction(c *cli.Context) error {
if err != nil {
logrus.Fatal(err)
}
version = head.String()[:8]
version = formatter.SmallSHA(head.String())
logrus.Warn("no versions detected, using latest commit")
if err := recipe.EnsureLatest(app.Type); err != nil {
logrus.Fatal(err)