-
Notifications
You must be signed in to change notification settings - Fork 88
CLDR-18999 Allow the build script to push changes into the repo #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -26,6 +26,6 @@ MATCH='.*' | |||||
| DRAFTSTATUS="contributed" | ||||||
|
|
||||||
| # override the version number of CLDR | ||||||
| #VERSION="39.0.0" | ||||||
| VERSION="49.0.0-dev" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please revert this. it's calculated.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| EXTRA_JSON_OPTS="" | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,16 +12,11 @@ then | |
| . ./local-config.sh | ||
| fi | ||
|
|
||
| if [[ -z "$VERSION" ]]; | ||
| then | ||
| echo "VERSION is undefined, exiting from $0" | ||
| exit 1 | ||
| fi | ||
| VERSION="$(jq -r .version cldr-json/cldr-core/package.json)" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good idea |
||
| DIST=$(pwd)/${DIST} | ||
|
|
||
| set -x | ||
| ( cd ${OUT} && cp ../LICENSE LICENSE ) | ||
| ( cd ${OUT} && zip -x "*/.DS_Store" -r cldr-${VERSION}-json-full.zip LICENSE cldr-core cldr-rbnf cldr-*-full cldr-bcp47 cldr-transforms ) | ||
| #( cd ${OUT} && zip -r cldr-${VERSION}-json-modern.zip LICENSE cldr-core cldr-rbnf cldr-*-modern cldr-bcp47 cldr-transforms ) | ||
| ( cd ${OUT} && rm LICENSE ) | ||
|
|
||
| mv -v ${OUT}/*.zip ${DIST}/ | ||
| mkdir -p ${DIST} | ||
| cp LICENSE ${OUT}/LICENSE | ||
| ( cd ${OUT} && zip -x "*/.DS_Store" -r ${DIST}/cldr-${VERSION}-json-full.zip * ) | ||
| rm ${OUT}/LICENSE | ||
There was a problem hiding this comment.
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 -