We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa8da0d commit d9a7034Copy full SHA for d9a7034
1 file changed
scripts/build-tag-push-ecr.sh
@@ -33,8 +33,8 @@ fi
33
GIT_TAG=$(git describe --tags --first-parent --always)
34
# Cleaning the commit message to remove special characters
35
COMMIT_MSG=$(echo $COMMIT_MESSAGE | tr '\n' ' ' | tr -dc '[:alnum:]- ' | cut -c1-50)
36
-# Gets merge time to main
37
-MERGE_TIME=$(git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S')
+# Gets merge time to main - displaying it in UTC timezone
+MERGE_TIME=$(TZ=UTC0 git log -1 --format=%cd --date=format:'%Y-%m-%d %H:%M:%S')
38
39
# Sanitise commit message and search for canary deployment instructions
40
MSG=$(echo $COMMIT_MESSAGE | tr '\n' ' ' | tr '[:upper:]' '[:lower:]')
0 commit comments