butterfly: add nightly channel

This commit is contained in:
linsui 2022-07-01 19:19:55 +08:00 committed by linsui
parent 5c2f61cb9e
commit 9a73ed2a5b
2 changed files with 66 additions and 3 deletions

View file

@ -0,0 +1,42 @@
Categories:
- Writing
License: GPL-3.0-only
AuthorName: Linwood
AuthorEmail: admin@linwood.dev
SourceCode: https://github.com/LinwoodCloud/butterfly
IssueTracker: https://github.com/LinwoodCloud/butterfly/issues
Translation: https://linwood.crowdin.com/butterfly
Changelog: https://github.com/LinwoodCloud/butterfly/blob/develop/CHANGELOG.md
AutoName: Butterfly
RepoType: git
Repo: https://github.com/LinwoodCloud/butterfly.git
Builds:
- versionName: 1.4.0-alpha.3
versionCode: 30
commit: 483e0a80c3118a1c495ccd088c6118c597d32848
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
output: build/app/outputs/flutter-apk/app-nightly-release.apk
srclibs:
- flutter@3.0.3
rm:
- app/ios
- app/linux
- app/macos
- app/web
- app/windows
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk --flavor nightly
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.+$
UpdateCheckData: app/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 1.4.0-alpha.3
CurrentVersionCode: 30

View file

@ -476,8 +476,29 @@ Builds:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk --flavor development
- versionName: 1.4.0-alpha.3
versionCode: 30
commit: 483e0a80c3118a1c495ccd088c6118c597d32848
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
output: build/app/outputs/flutter-apk/app-production-release.apk
srclibs:
- flutter@3.0.3
rm:
- app/ios
- app/linux
- app/macos
- app/web
- app/windows
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk --flavor production
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.+$
UpdateCheckMode: Tags ^v[\d.]+$
UpdateCheckData: app/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 1.4.0-alpha.2
CurrentVersionCode: 29
CurrentVersion: 1.3.2
CurrentVersionCode: 26