We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 263fd1f commit 6337aa4Copy full SHA for 6337aa4
1 file changed
.github/workflows/debugbuild.yml
@@ -277,9 +277,18 @@ jobs:
277
run: |
278
VERSION="${{ steps.get_version.outputs.version }}"
279
VERSION="$(echo -n "$VERSION" | tr -d '\r')"
280
+
281
+ # Map 'release' branch to 'stable' flavor
282
+ BRANCH="${{ github.ref_name }}"
283
+ if [[ "$BRANCH" == "release" ]]; then
284
+ FLAVOR="stable"
285
+ else
286
+ FLAVOR="$BRANCH"
287
+ fi
288
289
mkdir -p "dist/$VERSION"
290
- APK_FLAVORED="build/app/outputs/flutter-apk/app-${{ github.ref_name }}-release.apk"
291
+ APK_FLAVORED="build/app/outputs/flutter-apk/app-${FLAVOR}-release.apk"
292
APK_DEFAULT="build/app/outputs/flutter-apk/app-release.apk"
293
294
if [ -f "$APK_FLAVORED" ]; then
0 commit comments