We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3874f0 commit af138bfCopy full SHA for af138bf
scripts/create_source_tarball.sh
@@ -8,7 +8,7 @@ source "${REPO_ROOT}/scripts/common.sh"
8
cd "$REPO_ROOT"
9
version=$(scripts/get_version.sh)
10
commit_hash=$(git rev-parse --short=8 HEAD)
11
-commit_date=$(git show --format=%ci HEAD | head -n 1 | cut - -b1-10 | sed -e 's/-0?/./' | sed -e 's/-0?/./')
+commit_date=$(TZ=UTC git show --quiet --date="format-local:%Y.%-m.%-d" --format="%cd")
12
13
# File exists and has zero size -> not a prerelease
14
if [[ -e prerelease.txt && ! -s prerelease.txt ]]; then
0 commit comments