2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00
inventree-app/RELEASE.md
2022-05-02 10:04:30 +10:00

47 lines
860 B
Markdown

# Release Process
## Android Play Store
[Reference](https://flutter.dev/docs/deployment/android#signing-the-app)
### Key File
Add a file `key.properties` under the android/ directory
### Increment Build Number
Make sure that the build number is incremented every time (or it will be rejected by Play Store).
### Copy Translations
Ensure that the translation files have been updated, and copied into the correct directory!!
```
cd lib/l10n
python collect_translations.py
```
### Build Appbundle
`flutter build appbundle`
### Upload Appbundle
Upload the appbundle file to the Android developer website.
## Apple Store
Ref: https://flutter.dev/docs/deployment/ios
### Build ipa
```
flutter clean
flutter build ipa
```
### Validate and Distribute
- Open `./build/ios/archive/Runner.xcarchive` in Xcode
- Run "Validate App"
- Run "Distribute App"