diff --git a/metadata/space.irex.mobile.yml b/metadata/space.irex.mobile.yml new file mode 100644 index 0000000000..eddc95d2c1 --- /dev/null +++ b/metadata/space.irex.mobile.yml @@ -0,0 +1,48 @@ +Categories: + - Navigation +License: GPL-3.0-only +AuthorName: IREX +AuthorEmail: contact-irex@aretex.ca +SourceCode: https://gitlab.com/web_irex/irex-mobile +IssueTracker: https://gitlab.com/web_irex/irex-mobile/issues + +AutoName: IREX Mobile App + +RepoType: git +Repo: https://gitlab.com/web_irex/irex-mobile.git +Binaries: https://gitlab.com/web_irex/irex-mobile/-/releases/v%v/downloads/IREX-Mobile.apk + +Builds: + - versionName: 1.0.0 + versionCode: 1 + commit: v1.0.0 + sudo: + - apt-get update + - apt-get install -y openjdk-17-jdk-headless + - update-java-alternatives -a + output: build/app/outputs/flutter-apk/app-release.apk + srclibs: + - flutter@3.16.9 + rm: + - ios + prebuild: + - version=$(sed -n -E "s/Flutter :\ (.*)/\1/p" flutterVersion.txt) + - pushd $$flutter$$ + - git checkout -f $version + - popd + - 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 + - $$flutter$$/bin/flutter build apk + +AllowedAPKSigningKeys: b764c38b0cbce66f836fa6f40eb5fd7bb9b0403168db9827d4f1f6db896e16ff + +AutoUpdateMode: Version +UpdateCheckMode: Tags +UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ +CurrentVersion: 1.0.0 +CurrentVersionCode: 1