fdroiddata/metadata/dev.labplus.app.yml
2024-05-16 14:22:51 +00:00

68 lines
2 KiB
YAML

Categories:
- Development
License: MIT
AuthorName: thelooter
AuthorEmail: labplus@thelooter.de
SourceCode: https://github.com/thelooter/labplus_for_gitlab
IssueTracker: https://github.com/thelooter/labplus_for_gitlab/issues
AutoName: Lab+
RepoType: git
Repo: https://github.com/thelooter/labplus_for_gitlab
Binaries: https://github.com/thelooter/labplus_for_gitlab/releases/download/%v/app-signed-release.apk
Builds:
- versionName: 1.4.1
versionCode: 1
commit: ffc5765bd5db082a3b6f2b6bb8721d80d9ae6908
sudo:
- mkdir -p /home/thelooter
- chown vagrant /home/thelooter
output: build/app/outputs/flutter-apk/app-fdroid-release.apk
srclibs:
- flutter@stable
rm:
- ios
- linux
- macos
- web
- windows
prebuild:
- export repo=/home/thelooter/Documents/Coding/Dart
- mkdir -p $repo
- cd ..
- mv dev.labplus.app $repo/labplus_for_gitlab
- pushd $repo/labplus_for_gitlab
- version=$(sed -n -E 's/.*flutter-version:\ "(.*)"/\1/p' .github/workflows/release.yml|tail
-n1)
- '[[ $version ]] || exit 1'
- pushd $$flutter$$
- git checkout -f $version
- popd
- export PATH=$$flutter$$/bin:$PATH
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter config --no-analytics
- flutter pub get
- popd
- mv $repo/labplus_for_gitlab dev.labplus.app
scanignore:
- .pub-cache
build:
- export repo=/home/thelooter/Documents/Coding/Dart
- cd ..
- mv dev.labplus.app $repo/labplus_for_gitlab
- pushd $repo/labplus_for_gitlab
- export PATH=$$flutter$$/bin:$PATH
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter build apk --flavor fdroid --no-tree-shake-icons
- popd
- mv $repo/labplus_for_gitlab dev.labplus.app
AllowedAPKSigningKeys: 42d544512f2f6019469e333603f4c017477f12a706019666a39bcf86b23b6254
AutoUpdateMode: Version
UpdateCheckMode: Tags ^[0-9.]*$
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 1.4.1
CurrentVersionCode: 1