Remove unused flag

This commit is contained in:
Moe Poi ~ 2022-05-26 13:35:48 +07:00
parent eb6ac231eb
commit 6c8aefe134

View file

@ -15,7 +15,7 @@ android:debug:
- flutter clean - flutter clean
script: script:
- flutter doctor --android-licenses - flutter doctor --android-licenses
- flutter build apk --flavor ${FLAVOR} --debug - flutter build apk --debug
artifacts: artifacts:
paths: paths:
- "**/**/**/**/**/**/*.apk" - "**/**/**/**/**/**/*.apk"
@ -29,7 +29,7 @@ android:release:
- flutter clean - flutter clean
script: script:
- flutter doctor --android-licenses - flutter doctor --android-licenses
- flutter build apk --flavor ${FLAVOR} --release - flutter build apk --release
artifacts: artifacts:
paths: paths:
- "**/**/**/**/**/**/*.apk" - "**/**/**/**/**/**/*.apk"
@ -42,7 +42,7 @@ ios:debug:
- flutter packages get - flutter packages get
- flutter clean - flutter clean
script: script:
- flutter build ios --flavor ${FLAVOR} - flutter build ios
- if [ -d archive ]; then rm -rf archive; fi && mkdir archive - if [ -d archive ]; then rm -rf archive; fi && mkdir archive
- if [ -d artifact ]; then rm -rf artifact; fi && mkdir artifact - if [ -d artifact ]; then rm -rf artifact; fi && mkdir artifact
- export PLIST_DIRECTORY="ci-cd/iOS/${FLAVOR}/debug" - export PLIST_DIRECTORY="ci-cd/iOS/${FLAVOR}/debug"
@ -62,7 +62,7 @@ ios:release:
- flutter packages get - flutter packages get
- flutter clean - flutter clean
script: script:
- flutter build ios --flavor ${FLAVOR} - flutter build ios
- if [ -d archive ]; then rm -rf archive; fi && mkdir archive - if [ -d archive ]; then rm -rf archive; fi && mkdir archive
- if [ -d artifact ]; then rm -rf artifact; fi && mkdir artifact - if [ -d artifact ]; then rm -rf artifact; fi && mkdir artifact
- export PLIST_DIRECTORY="ci-cd/iOS/${FLAVOR}/release" - export PLIST_DIRECTORY="ci-cd/iOS/${FLAVOR}/release"
@ -82,7 +82,7 @@ web:debug:
- flutter packages get - flutter packages get
- flutter clean - flutter clean
script: script:
- flutter build web --flavor ${FLAVOR} --debug - flutter build web --debug
web:release: web:release:
stage: archive stage: archive
@ -91,4 +91,4 @@ web:release:
- flutter packages get - flutter packages get
- flutter clean - flutter clean
script: script:
- flutter build web --flavor ${FLAVOR} --release - flutter build web --release