Skip to content

Commit 2df8feb

Browse files
authored
handle version command the same as update (#533)
1 parent 0587392 commit 2df8feb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

internal/infra/run.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131
)
3232

3333
var runCmds = map[model.RunCommand]string{
34+
model.VersionCommand: "bin/run fetch_files && bin/run update_files",
3435
model.UpdateFilesCommand: "bin/run fetch_files && bin/run update_files",
3536
model.RecreateCommand: "bin/run fetch_files && bin/run update_files",
3637
model.SecurityCommand: "bin/run fetch_files && bin/run update_files",

internal/model/smoke.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ type RunCommand string
44

55
const (
66
UpdateFilesCommand RunCommand = "update"
7+
VersionCommand RunCommand = "version"
78
RecreateCommand RunCommand = "recreate"
89
SecurityCommand RunCommand = "security"
910
UpdateGraphCommand RunCommand = "graph"

0 commit comments

Comments
 (0)