chore: complete the shots-studio migration to gitlab for fdroid builds

This commit is contained in:
Mohammed Ansah 2025-08-14 07:46:30 +00:00 committed by Licaon_Kter
parent 892c7032e0
commit 01439c4426

View file

@ -9,15 +9,15 @@ Categories:
License: GPL-3.0-only
AuthorName: Ansah Mohammad
AuthorEmail: mohdansah10@gmail.com
SourceCode: https://github.com/AnsahMohammad/shots-studio
IssueTracker: https://github.com/AnsahMohammad/shots-studio/issues
Changelog: https://github.com/AnsahMohammad/shots-studio/releases
SourceCode: https://gitlab.com/mohdansah10/shots-studio
IssueTracker: https://gitlab.com/mohdansah10/shots-studio/-/issues
Changelog: https://gitlab.com/mohdansah10/shots-studio/-/releases
AutoName: Shots Studio
RepoType: git
Repo: https://github.com/AnsahMohammad/shots-studio
Binaries: https://github.com/AnsahMohammad/shots-studio/releases/download/v%v/shots_studio-release-%v.apk
Repo: https://gitlab.com/mohdansah10/shots-studio.git
Binaries: https://archive.org/download/shots_studio-release/shots_studio-fdroid-release-%v.apk
Builds:
- versionName: 1.8.80
@ -58,10 +58,48 @@ Builds:
- popd
- mv $repo .
- versionName: 1.8.148
versionCode: 2
commit: v1.8.148
sudo:
- mkdir -p /home/ansah/Documents/Programming/Projects/shots-studio
- chown -R vagrant /home/ansah
output: shots_studio/build/app/outputs/flutter-apk/app-fdroid-release.apk
srclibs:
- flutter@stable
rm:
- shots_studio/ios
- shots_studio/linux
- shots_studio/macos
- shots_studio/web
- shots_studio/windows
prebuild:
- git -C $$flutter$$ reset --hard $(cat shots_studio/flutter.version)
- export repo=/home/ansah/Documents/Programming/Projects/shots-studio/shots_studio
- mv shots_studio $repo
- pushd $repo
- export PUB_CACHE=$(pwd)/.pub-cache
- export PATH="$$flutter$$/bin:$PATH"
- flutter config --no-analytics
- flutter pub get
- popd
- mv $repo .
scandelete:
- shots_studio/.pub-cache
build:
- export repo=/home/ansah/Documents/Programming/Projects/shots-studio/shots_studio
- mv shots_studio $repo
- pushd $repo
- export PUB_CACHE=$(pwd)/.pub-cache
- export PATH="$$flutter$$/bin:$PATH"
- flutter build apk --release --flavor fdroid --dart-define=BUILD_SOURCE=fdroid
- popd
- mv $repo .
AllowedAPKSigningKeys: 4e93aa8564d719b7081e9e5ae59a86bcb3c2ae576a0d5d4e9172f3de7ac8b0a6
AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: shots_studio/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 1.8.80
CurrentVersionCode: 1
CurrentVersion: 1.8.148
CurrentVersionCode: 2