Skip to content
Snippets Groups Projects
Commit beb60a7b authored by Johannes Löthberg's avatar Johannes Löthberg
Browse files

Use same BuildDate format as upstream

parent aedd7708
No related branches found
Tags 0.21.0-1
No related merge requests found
......@@ -28,7 +28,7 @@ build() {
-X github.com/prometheus/common/version.Revision=$pkgver \
-X github.com/prometheus/common/version.Branch=tarball \
-X github.com/prometheus/common/version.BuildUser=someone@builder \
-X github.com/prometheus/common/version.BuildDate=$SOURCE_DATE_EPOCH" \
-X github.com/prometheus/common/version.BuildDate=$(date -d@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
.
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment