Skip to content

Commit 8a77e76

Browse files
committed
build: use utc for build datestamp
This helps keep packages built on different machines have the same datestamp, if started on the same time.
1 parent c51db54 commit 8a77e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: SCYLLA-VERSION-GEN

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ then
88
SCYLLA_VERSION=$(cat version | awk -F'-' '{print $1}')
99
SCYLLA_RELEASE=$(cat version | awk -F'-' '{print $2}')
1010
else
11-
DATE=$(date +%Y%m%d)
11+
DATE=$(date --utc +%Y%m%d)
1212
GIT_COMMIT=$(git log --pretty=format:'%h' -n 1)
1313
SCYLLA_VERSION=$VERSION
1414
# For custom package builds, replace "0" with "counter.your_name",

0 commit comments

Comments
 (0)