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:
push:

View File

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

View File

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