We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e78f45 commit 37441b3Copy full SHA for 37441b3
1 file changed
.github/workflows/debugbuild.yml
@@ -277,18 +277,9 @@ 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
291
- APK_FLAVORED="build/app/outputs/flutter-apk/app-${FLAVOR}-release.apk"
+ APK_FLAVORED="build/app/outputs/flutter-apk/app-${{ github.ref_name }}-release.apk"
292
APK_DEFAULT="build/app/outputs/flutter-apk/app-release.apk"
293
294
if [ -f "$APK_FLAVORED" ]; then
0 commit comments