2020-01-20 18:21:34 +03:00
|
|
|
#!/usr/bin/env bash
|
2021-01-01 21:49:51 +03:00
|
|
|
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
2020-01-20 18:21:34 +03:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
2020-04-30 16:02:08 +03:00
|
|
|
# This is used for building the sitemap, so we want the date of publication,
|
|
|
|
# not the date of the release commit itself, hence we don't need to look into
|
|
|
|
# LATEST to find the date of the referred commit.
|
|
|
|
echo "STABLE_VERSION_DATE $(TZ=UTC git log -n1 -s --format=%cd --date=short -- LATEST)"
|