Logger: switch to reproducible build

This commit is contained in:
Sanmeet Singh 2025-01-11 13:34:29 +00:00 committed by linsui
parent 2d8636623a
commit 97719ff4b4

View file

@ -2,20 +2,22 @@ Categories:
- Phone & SMS
License: GPL-3.0-or-later
AuthorName: Sanmeet Singh
AuthorEmail: ssanmeet123@gmail.com
AuthorEmail: ssanmeet007@gmail.com
AuthorWebSite: https://sanmeet007.github.io
SourceCode: https://github.com/Sanmeet007/logger
IssueTracker: https://github.com/Sanmeet007/logger/issues
Donate: https://github.com/sponsors/Sanmeet007
Donate: https://buymeacoffee.com/sanmeet007
AutoName: Logger
RepoType: git
Repo: https://github.com/Sanmeet007/logger
Binaries: https://github.com/Sanmeet007/logger/releases/download/v%v/logger-v%v.apk
Builds:
- versionName: 2.5.7
versionCode: 21
disable: non reproducible
commit: 42eebd20b3325bb705128ef7d61e966f21a4f13d
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
@ -35,6 +37,7 @@ Builds:
- versionName: 2.6.1
versionCode: 23
disable: non reproducible
commit: fbd74861a040c977fb724c7ba7a1db262c7ec989
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
@ -54,6 +57,7 @@ Builds:
- versionName: 2.7.1
versionCode: 30
disable: non reproducible
commit: c900f9938b762bd76f587afef72ca3df937249ba
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
@ -73,6 +77,7 @@ Builds:
- versionName: 2.7.5
versionCode: 31
disable: non reproducible
commit: 4c3f3578be995868ab2ec8ad0bce7d00caec3a01
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
@ -91,27 +96,44 @@ Builds:
- $$flutter$$/bin/flutter build apk
- versionName: 2.8.3
versionCode: 35
disable: MR wip
commit: 26a82b31b18debc904bbba0b022176489be2291c
versionCode: 37
commit: bc92db15880a280f7bddf84243c6487ea5e05b6a
sudo:
- mkdir -p /mnt/d/sanmeet007
- chown vagrant /mnt/d/sanmeet007
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@stable
prebuild:
- export flutterVersion=$(sed -n -E "s/.*flutter:\s([0-9.]+)/\1/p" pubspec.yaml)
- export repo=/mnt/d/sanmeet007/dart
- mkdir -p $repo
- cd ..
- mv com.logger.app $repo/logger-linux-build
- pushd $repo/logger-linux-build
- export flutterVersion=$(sed -n -E "s/.*flutter:\s([0-9.]+)\r?/\1/p" pubspec.yaml)
- '[[ $flutterVersion ]] || exit 1'
- git -C $$flutter$$ checkout -f $flutterVersion
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter packages pub get
- popd
- mv $repo/logger-linux-build com.logger.app
scandelete:
- .pub-cache
build:
- export repo=/mnt/d/sanmeet007/dart
- cd ..
- mv com.logger.app $repo/logger-linux-build
- pushd $repo/logger-linux-build
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk
- popd
- mv $repo/logger-linux-build com.logger.app
AllowedAPKSigningKeys: 114f6019fb5a6ac74843df902dbeb99e69d5e6099656a3c9f689cf27131400ab
AutoUpdateMode: Version
UpdateCheckMode: Tags v[\d.]+$
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 2.8.3
CurrentVersionCode: 35
CurrentVersionCode: 37