Skip to content

Commit 8ef74b6

Browse files
committed
contrib/ci.inria.fr: use UTC time for snapshot name
Signed-off-by: Brice Goglin <[email protected]>
1 parent e68083a commit 8ef74b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/ci.inria.fr/job-0-tarball.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Copyright © 2012-2021 Inria. All rights reserved.
3+
# Copyright © 2012-2023 Inria. All rights reserved.
44
# See COPYING in top-level directory.
55
#
66

@@ -47,7 +47,7 @@ libtool --version | head -1
4747
autoconf --version | head -1
4848

4949
# better version string
50-
snapshot=$branch-`date +%Y%m%d.%H%M`.git`git show --format=format:%h -s`
50+
snapshot=$branch-`date --utc +%Y%m%d.%H%M`.git`git show --format=format:%h -s`
5151
sed -e 's/^snapshot_version=.*/snapshot_version='$snapshot/ \
5252
-e 's/^snapshot=.*/snapshot=1/' \
5353
-i VERSION

0 commit comments

Comments
 (0)