From 51e4cfec30791cca2fdd87d29299032c656a7f15 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 16 Mar 2023 09:41:49 +0000 Subject: [PATCH] Print current tag at start --- pew.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pew.go b/pew.go index 8e03df0..17de808 100644 --- a/pew.go +++ b/pew.go @@ -106,6 +106,11 @@ func (cmd PewCmd) Run(g *Globals) (err error) { dockerTimeout = cmd.DockerTimeout } + if cmd.Tag == "" { + cmd.Tag = fmt.Sprintf("%d", time.Now().Unix()) + log.Println("Tag: " + cmd.Tag) + } + err = performCI(ka, kcfg, cmd.Binary, cmd.Test, stop, qemuTimeout, dockerTimeout, cmd.Max, cmd.Runs, cmd.Dist, cmd.Tag,