From f72cf2c81de8fa7380f15ecf6fa762a962789145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 23 Mar 2023 16:38:37 +0100 Subject: [PATCH] MOBILE-4286 github: Fixes on language scripts --- .github/workflows/merge.yml | 2 +- .github/workflows/release.yml | 4 ++-- scripts/lang_functions.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 4e9900cae..a8136414a 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -1,4 +1,4 @@ -name: Prepare +name: Merge on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c59023ce..0186d6176 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/scripts/lang_functions.sh b/scripts/lang_functions.sh index 51131c38d..a7b59de78 100755 --- a/scripts/lang_functions.sh +++ b/scripts/lang_functions.sh @@ -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`