MOBILE-4286 github: Fixes on language scripts

main
Pau Ferrer Ocaña 2023-03-23 16:38:37 +01:00
parent 068795209d
commit f72cf2c81d
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`