Skip to content

Commit

Permalink
CLDR-15402 add a script to identify the git status
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Mar 23, 2022
1 parent 5c62724 commit bf723f4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions cldr-identify.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright © 1991-2020 Unicode, Inc. All rights reserved. Distributed under
# the Terms of Use in http://www.unicode.org/copyright.html.
#
# Creates JSON data under ./cldr-json in this directory.

. ./cldr-config.sh
if [ -x ./local-config.sh ];
then
echo "Using local-config.sh"
. ./local-config.sh
fi

function explain_repo()
{
git rev-parse --short HEAD
git describe HEAD
}

echo "* cldr-json info"
echo "- DATA: unicode-org/cldr-staging: " $(cd ${INDATA}; explain_repo)
echo "- TOOL: unicode-org/cldr: " $(cd ${CLDR_DIR}; explain_repo)
echo "- SCRIPT: unicode-org/cldr-json: " $(explain_repo)

0 comments on commit bf723f4

Please sign in to comment.