Skip to content

Conversation

@robertbastian
Copy link
Member

Behind a flag.

This could run nightly.

@robertbastian robertbastian requested a review from srl295 December 1, 2025 18:07
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add cldr-json
git commit --verbose -F - < (echo "Automated update; echo; cat ../cldr-identity.txt")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line isn't quite right, too many levels of quotes. it will result in a commit message Automated update; echo; cat..

I think the first line could give a little more details as well.

Probably instead something like

( echo ... ) | git commit ... -F -

Copy link
Member

@srl295 srl295 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should NOT be run nightly. There's no reason to make nightly changes to the repo here.

Perhaps instead it could draft a PR or update a branch.

icu4x needs the .zip file, so a nightly run that generates a .zip might be OK (as a build artifact)


# override the version number of CLDR
#VERSION="39.0.0"
VERSION="49.0.0-dev"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert this. it's calculated.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
VERSION="49.0.0-dev"
#VERSION="39.0.0"

echo "VERSION is undefined, exiting from $0"
exit 1
fi
VERSION="$(jq -r .version cldr-json/cldr-core/package.json)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants