MOBILE-4286 github: Fixes on language scripts
parent
068795209d
commit
f72cf2c81d
|
@ -1,4 +1,4 @@
|
||||||
name: Prepare
|
name: Merge
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue