Skip to content

Commit

Permalink
Update upload.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
angold5 committed Apr 25, 2024
1 parent 6b0980e commit b8efd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ GIT_TAG=$(git describe --tags --first-parent --always)
# Cleaning the commit message to remove special characters
COMMIT_MSG=$(echo $COMMIT_MESSAGE | tr '\n' ' ' | tr -dc '[:alnum:]- ' | cut -c1-50)
# 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' --date=local)
MERGE_TIME=$(TZ=UTC0 git log -1 --format=%cd --date=format-local:'%Y-%m-%d %H:%M:%S')

# Sanitise commit message and search for canary deployment instructions
MSG=$(echo $COMMIT_MESSAGE | tr '\n' ' ' | tr '[:upper:]' '[:lower:]')
Expand Down

0 comments on commit b8efd8d

Please sign in to comment.