Update PeerTube to 1.0.1 (20)

This commit is contained in:
Framasoft 2025-04-30 15:15:09 +00:00 committed by Licaon_Kter
parent ff2d5ea103
commit 5fc9f8773e

View file

@ -1,7 +1,3 @@
AntiFeatures:
TetheredNet:
en-US: Depends on instance.joinpeertube.org and sepiasearch.org which are not
user configurable
Categories:
- Internet
- Multimedia
@ -17,7 +13,7 @@ AutoName: PeerTube
RepoType: git
Repo: https://framagit.org/framasoft/peertube/mobile-application.git
Binaries: https://builds.joinpeertube.org/mobile/peertube_mobile_v%v.apk
Binaries: https://builds.joinpeertube.org/mobile/peertube_v%v.apk
Builds:
- versionName: 0.6.0
@ -27,6 +23,46 @@ Builds:
- mkdir -p /builds
- chown vagrant /builds
output: build/app/outputs/flutter-apk/app-stable-release.apk
binary: https://builds.joinpeertube.org/mobile/peertube_mobile_v%v.apk
srclibs:
- flutter@stable
rm:
- ios
prebuild:
- export repo=/builds/framasoft/peertube
- mkdir -p $repo
- cd ..
- mv org.framasoft.peertube $repo/mobile-application
- pushd $repo/mobile-application
- export flutterVersion=$(sed -n -E "s/^\s*flutter:\s*'?([0-9.]+)'?/\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 pub get
- $$flutter$$/bin/flutter pub run build_runner build --delete-conflicting-outputs
- popd
- mv $repo/mobile-application org.framasoft.peertube
scandelete:
- .pub-cache
build:
- export repo=/builds/framasoft/peertube
- cd ..
- mv org.framasoft.peertube $repo/mobile-application
- pushd $repo/mobile-application
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk --release --dart-define-from-file=env-stable.json
--flavor=stable --dart-define=buildType=fdroid
- popd
- mv $repo/mobile-application org.framasoft.peertube
- versionName: 1.0.1
versionCode: 20
commit: v1.0.1
sudo:
- mkdir -p /builds
- chown vagrant /builds
output: build/app/outputs/flutter-apk/app-stable-release.apk
srclibs:
- flutter@stable
rm:
@ -64,5 +100,5 @@ AllowedAPKSigningKeys: c3c605c9387aa2d6fd0170fbe39636dc83845ac4e655b4e822fdbd349
AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 0.6.0
CurrentVersionCode: 18
CurrentVersion: 1.0.1
CurrentVersionCode: 20