Skip to content
代码片段 群组 项目
提交 e4ebe124 编辑于 作者: ling zhang's avatar ling zhang
浏览文件

refactor: #145 Delete the debug code

上级 334a7e18
No related branches found
No related tags found
无相关合并请求
......@@ -41,9 +41,7 @@ build-android:
- 'sed -i "s/version:.*/version: $VERSION_NEW/g" pubspec.yaml'
- 'sed -i "s/\"versionCode\":.*/\"versionCode\": $VERSION_CODE_NEW,/g" updater.json'
- 'sed -i "s/\"versionName\":.*/\"versionName\": \"$VERSION_NAME\",/g" updater.json'
- echo $TEST_KEY_ALIAS
- echo $TEST_STORE_FILE | base64 -d > test-keystore.jks
- ls -l test-keystore.jks
- flutter build apk --dart-define=REQUEST_ENV=prod_env --dart-define=KEY_ALIAS=$TEST_KEY_ALIAS --dart-define=KEY_PASSWORD=$TEST_KEY_PASSWORD --dart-define=STORE_FILE=$(pwd)/test-keystore.jks --dart-define=STORE_PASSWORD=$TEST_STORE_PASSWORD
- echo "VERSION_NAME=$VERSION_NAME" >> build.env
artifacts:
......
......@@ -35,7 +35,7 @@ if (project.hasProperty('dart-defines')) {
[(pair.first()): pair.last()]
}
}
println(dartDefines)
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册