Skip to content

Commit

Permalink
drone: build: Fix date formats
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Lin <[email protected]>
  • Loading branch information
kdrag0n committed Aug 2, 2019
1 parent 933bb99 commit e01e485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .drone/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ set -veo pipefail
time ./build-proton-tc.sh |& tee build.log

# Generate build info
rel_date="$(date "+%Y%m%e")" # ISO 8601 format
rel_friendly_date="$(date "+%B %d, %Y")" # "Month day, year" format
rel_date="$(date "+%Y%m%d")" # ISO 8601 format
rel_friendly_date="$(date "+%B %-d, %Y")" # "Month day, year" format
pushd llvm-project
short_commit="$(cut -c-8 <<< "$(git rev-parse HEAD)")"
popd
Expand Down

0 comments on commit e01e485

Please sign in to comment.