From a0858b3d023b3d0cd206f00a6aa27d61a4c80530 Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Tue, 11 Aug 2026 15:09:22 -0300 Subject: [PATCH] chore: add feature label for closed beta tests [skip ci] --- .github/workflows/mobile.release.closed-beta.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mobile.release.closed-beta.yml b/.github/workflows/mobile.release.closed-beta.yml index edef6c69e..edea9c212 100644 --- a/.github/workflows/mobile.release.closed-beta.yml +++ b/.github/workflows/mobile.release.closed-beta.yml @@ -2,6 +2,11 @@ name: Mobile Release Closed Beta on: workflow_dispatch: + inputs: + beta_label: + description: Feature label for this beta build (e.g. offline-sync) + required: true + type: string jobs: android: @@ -21,7 +26,12 @@ jobs: - name: Export version for closed beta run: | BASE_VERSION=$(grep '"version"' ../web/package.json | cut -d '"' -f 4 | cut -d "-" -f 1) - echo "PACKAGE_VERSION=${BASE_VERSION}-beta.${{ github.run_number }}" >> $GITHUB_ENV + BETA_LABEL=$(echo "${{ inputs.beta_label }}" | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | sed 's/[^a-z0-9-]//g') + if [ -z "$BETA_LABEL" ]; then + echo "beta_label must contain at least one alphanumeric character" + exit 1 + fi + echo "PACKAGE_VERSION=${BASE_VERSION}-beta-${BETA_LABEL}" >> $GITHUB_ENV - name: Setup react-native kernel and increase watchers run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p - name: Decode Production Android keystore