From 4c819d9401f4abedb65a2ec6d63b4e2da4ffe0e8 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Mon, 9 Sep 2024 16:54:16 -0700 Subject: [PATCH] Remove zeros from build number The zeros were kept in place of the timestamp in case people were parsing it. Let's try to remove the zeros now and see what breaks. Test: Presubmits Change-Id: Ic52168f6be05a74323d8e47935de5c6a5cf15516 --- ui/build/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/build/build.go b/ui/build/build.go index 03d839237..b2d16fcf5 100644 --- a/ui/build/build.go +++ b/ui/build/build.go @@ -79,7 +79,7 @@ func SetupOutDir(ctx Context, config Config) { if username, ok = config.environ.Get("BUILD_USERNAME"); !ok { ctx.Fatalln("Missing BUILD_USERNAME") } - buildNumber = fmt.Sprintf("eng.%.6s.00000000.000000", username) + buildNumber = fmt.Sprintf("eng.%.6s", username) writeValueIfChanged(ctx, config, config.OutDir(), "file_name_tag.txt", username) } // Write the build number to a file so it can be read back in