mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 00:35:25 +03:00
f044dcebca
With the change in release model (VERSION to LATEST), I forgot to change the workspace_status script. The result is that our sitemap will forever indicate all the pages in the docs have been last modified on Feb 25, discouraging search engines from indexing them again at any point since. This PR fixes that by updating the workspace_status script, which hopefully should result in search engines indexing us again. CHANGELOG_BEGIN CHANGELOG_END
11 lines
469 B
Bash
Executable File
11 lines
469 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -euo pipefail
|
|
|
|
# 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)"
|