Print current tag at start
This commit is contained in:
parent
d5d9cce517
commit
51e4cfec30
5
pew.go
5
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,
|
||||
|
Loading…
Reference in New Issue
Block a user