Skip to content

Commit a1c547b

Browse files
authored
Merge pull request #4151 from crazyserver/MOBILE-4616
MOBILE-4616 lang: Fail if langpack branch is not found
2 parents 959cb17 + b4e8d81 commit a1c547b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

scripts/update_lang_functions.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,12 @@ function load_langpacks {
9494
pushd "$LANGPACKS_PATH"
9595

9696
git checkout "langpack_$LANGVERSION"
97-
git pull
97+
if [ $? -ne 0 ]; then
98+
echo "Cannot checkout language repository langpack_$LANGVERSION"
99+
exit 1
100+
fi
98101

102+
git pull
99103
if [ $? -ne 0 ]; then
100104
echo "Cannot update language repository"
101105
exit 1

src/core/classes/sites/authenticated-site.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export class CoreAuthenticatedSite extends CoreUnauthenticatedSite {
7373
'4.2': 2023042400,
7474
'4.3': 2023100900,
7575
'4.4': 2024042200,
76+
'4.5': 2024081600, // @TODO correct the final release date.
7677
};
7778

7879
// Possible cache update frequencies.

0 commit comments

Comments
 (0)