Skip to content

Commit

Permalink
ci: add go build version to -v output
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed Nov 28, 2022
1 parent 45eba5a commit d7ba3b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,11 @@ func init() {
}

func version() {
fmt.Printf("Tagger Build Information\nVersion: %s\nBuild Date: %s\nCommit: %s\n",
fmt.Printf("Tagger Build Information\nVersion: %s\nBuild Date: %s\nCommit: %s\nGo Version: %s\n",
Version,
BuildDate,
Commit,
runtime.Version(),
)
}

Expand Down

0 comments on commit d7ba3b9

Please sign in to comment.