ci: add build stamping

This commit is contained in:
41666 2020-09-22 23:23:02 -04:00
parent 54a8739afd
commit ff27f1080b
4 changed files with 20 additions and 15 deletions

View file

@ -5,6 +5,11 @@ go_library(
srcs = ["version.go"],
importpath = "github.com/roleypoly/roleypoly/src/common/version",
visibility = ["//visibility:public"],
x_defs = {
"GitCommit": "{STABLE_GIT_COMMIT}",
"GitBranch": "{STABLE_GIT_BRANCH}",
"BuildDate": "{BUILD_DATE}",
},
)
go_test(