Skip to content
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

MOBILE-4616 lang: Fail if langpack branch is not found #4151

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/update_lang_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,12 @@ function load_langpacks {
pushd "$LANGPACKS_PATH"

git checkout "langpack_$LANGVERSION"
git pull
if [ $? -ne 0 ]; then
echo "Cannot checkout language repository langpack_$LANGVERSION"
exit 1
fi

git pull
if [ $? -ne 0 ]; then
echo "Cannot update language repository"
exit 1
Expand Down
1 change: 1 addition & 0 deletions src/core/classes/sites/authenticated-site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class CoreAuthenticatedSite extends CoreUnauthenticatedSite {
'4.2': 2023042400,
'4.3': 2023100900,
'4.4': 2024042200,
'4.5': 2024081600, // @TODO correct the final release date.
};

// Possible cache update frequencies.
Expand Down