Merge pull request #3589 from crazyserver/MOBILE-4286

MOBILE-4286 github: Fixes on language scripts
main
Dani Palou 2023-03-23 17:07:02 +01:00 committed by GitHub
commit e8eb36f56e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Prepare name: Merge
on: on:
push: push:

View File

@ -1,10 +1,10 @@
name: Prepare name: Release
on: workflow_dispatch on: workflow_dispatch
jobs: jobs:
release: release:
if: github.repository == 'moodlehq/moodleapp' if: github.repository == 'moodlemobile/moodleapp'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@ -91,7 +91,7 @@ function get_language_folders {
fi fi
done done
if [ -z "${LANGVERSION}" ]; then if [ -z "${langs}" ]; then
# Get language list from the installed ones (will not discover new translations). # Get language list from the installed ones (will not discover new translations).
echo "Fallback language list will only get current installation languages" echo "Fallback language list will only get current installation languages"
langs=`jq -r '.languages | keys[]' ../moodle.config.json` langs=`jq -r '.languages | keys[]' ../moodle.config.json`