mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-18 19:59:12 +00:00
Add build-flutter template
This commit is contained in:
parent
38e0d0b2e2
commit
714040ec5e
1 changed files with 34 additions and 0 deletions
34
templates/build-flutter
Normal file
34
templates/build-flutter
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# PLEASE REMOVE ALL COMMENTS BEFORE SUBMITTING TO F-DROID DATA!
|
||||
|
||||
# Starting from the following template and grep for "flutter" in the metadata
|
||||
# directory to see other examples.
|
||||
|
||||
Builds:
|
||||
- versionName: '1.0'
|
||||
versionCode: 1
|
||||
commit: v1.0
|
||||
output: build/app/outputs/flutter-apk/app-release.apk
|
||||
# Choose one of the Tags of the Flutter source:
|
||||
# https://github.com/flutter/flutter/tags.
|
||||
# Sometimes the Flutter version is already specified by
|
||||
# upstream in pubspec.yaml, environment.flutter.
|
||||
srclibs:
|
||||
- flutter@2.8.0
|
||||
# Deletes unrelated directories,
|
||||
# remove those not needed from the list.
|
||||
rm:
|
||||
- ios
|
||||
- linux
|
||||
- macos
|
||||
- web
|
||||
- windows
|
||||
build:
|
||||
- $$flutter$$/bin/flutter config --no-analytics
|
||||
- $$flutter$$/bin/flutter build apk --release --verbose
|
||||
|
||||
AutoUpdateMode: Version
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
|
||||
CurrentVersion: '1.0'
|
||||
CurrentVersionCode: 1
|
||||
|
||||
Loading…
Reference in a new issue