Skip to content

Commit

Permalink
Align locally run deploy timestamps with UTC time. (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
goulter authored Aug 8, 2023
1 parent c1f7663 commit 9b2d0d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/bash-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
function tag_timestamp {
# This timestamp format can be lexicographically sorted
# which is important for flux automation.
echo $(date +%Y.%m.%d.%H.%M.%S)
# This is in UTC so that timestamps will be the same,
# whether this script is run directly from a developer's machine or from a github action
echo $(date -u +%Y.%m.%d.%H.%M.%S)
}

0 comments on commit 9b2d0d1

Please sign in to comment.