mirror of
https://gitlab.com/fdroid/fdroiddata.git
synced 2025-11-01 01:26:05 +01:00
86 lines
2.6 KiB
YAML
86 lines
2.6 KiB
YAML
Categories:
|
|
- Science & Education
|
|
License: Apache-2.0
|
|
AuthorName: FOSSASIA
|
|
AuthorEmail: dev@fossasia.org
|
|
WebSite: https://pslab.io/
|
|
SourceCode: https://github.com/fossasia/pslab-app
|
|
IssueTracker: https://github.com/fossasia/pslab-app/issues
|
|
Changelog: https://github.com/fossasia/pslab-app/releases
|
|
|
|
AutoName: PSLab
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/fossasia/pslab-app
|
|
|
|
Builds:
|
|
- versionName: 2.1.0
|
|
versionCode: 22
|
|
commit: 4f3e32bfb665105b45d818cd646d9e220b4df2bf
|
|
subdir: app
|
|
sudo:
|
|
- apt-get update
|
|
- apt-get install -y openjdk-11-jdk-headless
|
|
- update-alternatives --auto java
|
|
gradle:
|
|
- yes
|
|
rm:
|
|
- pslab-android.zip
|
|
prebuild: sed -i -e '/LOCAL_KEY/d' build.gradle
|
|
|
|
- versionName: 3.1.36
|
|
versionCode: 60
|
|
commit: c6b95f2c65d8d24f19af541bdb96c4a426d27059
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
prebuild: sed -i -e 's/versionCode =.*/versionCode = $$VERCODE$$/' -e 's/versionName
|
|
=.*/versionName = "$$VERSION$$"/' build.gradle.kts
|
|
|
|
- versionName: 3.2.4
|
|
versionCode: 153
|
|
commit: 73e56b6f01b179792f842627992da22e9c206c0f
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
prebuild: sed -i -e 's/versionCode =.*/versionCode = $$VERCODE$$/' -e 's/versionName
|
|
=.*/versionName = "$$VERSION$$"/' build.gradle.kts
|
|
|
|
- versionName: 3.2.17
|
|
versionCode: 166
|
|
commit: v3.2.17
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
prebuild: sed -i -e 's/versionCode =.*/versionCode = $$VERCODE$$/' -e 's/versionName
|
|
=.*/versionName = "$$VERSION$$"/' build.gradle.kts
|
|
|
|
- versionName: 4.0.1
|
|
versionCode: 310
|
|
commit: v4.0.1
|
|
output: build/app/outputs/flutter-apk/app-release.apk
|
|
srclibs:
|
|
- flutter@stable
|
|
prebuild:
|
|
- sed -i -e 's/8.12.2/8.11.1/' android/settings.gradle
|
|
- sed -i -e '/LOCAL_KEY_PRESENT/d' android/app/build.gradle
|
|
- flutterVersion=$(sed -n -E "s/.*flutter:\ '(.*)'/\1/p" pubspec.yaml| head
|
|
-n1)
|
|
- '[[ $flutterVersion ]]'
|
|
- git -C $$flutter$$ checkout -f $flutterVersion
|
|
- export PUB_CACHE=$(pwd)/.pub-cache
|
|
- $$flutter$$/bin/flutter config --no-analytics
|
|
- $$flutter$$/bin/flutter packages pub get
|
|
scandelete:
|
|
- .pub-cache
|
|
build:
|
|
- export PUB_CACHE=$(pwd)/.pub-cache
|
|
- export PATH=$$flutter$$/bin/:$PATH
|
|
- $$flutter$$/bin/flutter build apk --build-name $$VERSION$$ --build-number
|
|
$$VERCODE$$
|
|
|
|
AutoUpdateMode: Version v%v
|
|
UpdateCheckMode: HTTP
|
|
UpdateCheckData: https://github.com/fossasia/pslab-app/releases/latest/download/versionCode.txt|(\d+)|https://github.com/fossasia/pslab-app/releases/latest|releases/tag/v([\d.]+)
|
|
CurrentVersion: 4.0.1
|
|
CurrentVersionCode: 310
|