Skip to content

Commit 343e9e7

Browse files
committed
ci(release): change automatic release to manual trigger
- Replace push trigger with workflow_dispatch for manual control - Add optional version_tag input to override pubspec version - Add prerelease boolean input for marking releases as pre-release
1 parent 27968ee commit 343e9e7

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/release-apk.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
name: Release APK
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
workflow_dispatch:
5+
inputs:
6+
version_tag:
7+
description: 'Version tag (e.g., v1.0.0). Leave empty to use pubspec.yaml version.'
8+
required: false
9+
default: ''
10+
prerelease:
11+
description: 'Mark as prerelease'
12+
required: false
13+
default: false
14+
type: boolean
715

816
concurrency:
917
group: release-${{ github.ref }}

0 commit comments

Comments
 (0)