Skip to content

Commit

Permalink
Merge pull request #4151 from crazyserver/MOBILE-4616
Browse files Browse the repository at this point in the history
MOBILE-4616 lang: Fail if langpack branch is not found
  • Loading branch information
dpalou authored Aug 19, 2024
2 parents 959cb17 + b4e8d81 commit a1c547b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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

0 comments on commit a1c547b

Please sign in to comment.