fix play store versioning (GH-3)
This commit is contained in:
parent
3a5aaa780c
commit
0dcef84703
1 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ workflows:
|
||||||
events:
|
events:
|
||||||
- push
|
- push
|
||||||
branch_patterns:
|
branch_patterns:
|
||||||
- pattern: 'dev'
|
- pattern: "dev"
|
||||||
include: true
|
include: true
|
||||||
source: false
|
source: false
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ workflows:
|
||||||
- google_play_credentials
|
- google_play_credentials
|
||||||
vars:
|
vars:
|
||||||
PACKAGE_NAME: "com.dhemasnurjaya.kuwot"
|
PACKAGE_NAME: "com.dhemasnurjaya.kuwot"
|
||||||
GOOGLE_PLAY_TRACK: "alpha"
|
GOOGLE_PLAY_TRACK: alpha
|
||||||
flutter: stable
|
flutter: stable
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
|
@ -44,7 +44,7 @@ workflows:
|
||||||
ignore_failure: false
|
ignore_failure: false
|
||||||
- name: Build AAB with Flutter
|
- name: Build AAB with Flutter
|
||||||
script: |
|
script: |
|
||||||
BUILD_NUMBER=$(($(google-play get-latest-build-number --package-name "$PACKAGE_NAME") + 1))
|
BUILD_NUMBER=$(($(google-play get-latest-build-number --package-name "$PACKAGE_NAME" --tracks="$GOOGLE_PLAY_TRACK") + 1))
|
||||||
flutter build appbundle --release \
|
flutter build appbundle --release \
|
||||||
--dart-define=QUOTE_API_SCHEME=$QUOTE_API_SCHEME \
|
--dart-define=QUOTE_API_SCHEME=$QUOTE_API_SCHEME \
|
||||||
--dart-define=QUOTE_API_HOST=$QUOTE_API_HOST \
|
--dart-define=QUOTE_API_HOST=$QUOTE_API_HOST \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue