mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Bump new release for a11y_assessment (#150213)
This commit is contained in:
parent
03b595e9cf
commit
133067552d
@ -1,3 +1,33 @@
|
||||
# a11y_assessments
|
||||
|
||||
An application to conduct accessibility assessments.
|
||||
This app is used for internal testing.
|
||||
|
||||
## Release a new version for Android
|
||||
|
||||
pre-requisite: This can and should only be done by a googler and you must also
|
||||
be in the flutter.dev play console account.
|
||||
|
||||
1. Follow https://docs.flutter.dev/deployment/android to create a keystore file if you don't already
|
||||
have one.
|
||||
|
||||
2. Bump the pubspec.yaml version
|
||||
|
||||
3. Create a key.properties file in `android/` directory following this format.
|
||||
```
|
||||
storePassword=<password>
|
||||
keyPassword=<password>
|
||||
keyAlias=upload
|
||||
storeFile=<keystore path>
|
||||
```
|
||||
|
||||
4. Run `flutter build appbundle` and upload the artifact to play console
|
||||
|
||||
## Release a new version for iOS
|
||||
|
||||
pre-requisite: This can and should only be done by a googler and you must also
|
||||
be in the FLUTTER.IO LLC developer account with iOS distribution permission.
|
||||
|
||||
1. Bump the pubspec.yaml version
|
||||
2. Run `flutter build ipa` and upload the artifact to app store using transporter or other tools.
|
||||
For more information, see https://docs.flutter.dev/deployment/ios.
|
||||
3. Once the app is in TestFlight, add appropriate testers to the app so they can start testing.
|
@ -26,6 +26,12 @@ if (flutterVersionName == null) {
|
||||
flutterVersionName = '1.0'
|
||||
}
|
||||
|
||||
def keystoreProperties = new Properties()
|
||||
def keystorePropertiesFile = rootProject.file('key.properties')
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
}
|
||||
|
||||
android {
|
||||
namespace "com.example.a11y_assessments"
|
||||
compileSdk flutter.compileSdkVersion
|
||||
@ -54,12 +60,20 @@ android {
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||
storePassword keystoreProperties['storePassword']
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
// TODO: Add your own signing config for the release build.
|
||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
||||
signingConfig signingConfigs.debug
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
name: a11y_assessments
|
||||
description: A new Flutter project
|
||||
version: 5.0.0+5
|
||||
|
||||
environment:
|
||||
sdk: '>=3.2.0-22.0.dev <4.0.0'
|
||||
|
Loading…
Reference in New Issue
Block a user