I have published an app in F-Droid. When publishing the first version, I followed the usual steps, and the app was published from my GitHub release. (The release tag is v1.0
).
Now, I have released an update of the app in GitHub (The release tag is v1.x
). And I'm wondering if I need to change anything in the F-Droid metadata and create a new merge request again in the F-Droid data repository.
This is the metadata .yml of my app:
Categories:
- Science & Education
License: BSD-3-Clause
AuthorName: ARITRA BELEL and SHOURYA S GHOSH
SourceCode: https://github.com/belelaritra/Neumorphic_Calculator
IssueTracker: https://github.com/belelaritra/Neumorphic_Calculator/issues
AutoName: Calculator
RepoType: git
Repo: https://github.com/belelaritra/Neumorphic_Calculator
Builds:
- versionName: 1.0.0
versionCode: 1
commit: b0ea287db768c146925b7df4853abe10286b8026
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@2.8.1
rm:
- ios
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter packages pub get
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
UpdateCheckData: pubspec.yaml|version:\s.*\+(\d+)|.|version:\s(.*)\+
CurrentVersion: 1.0.0
CurrentVersionCode: 1
The lines,
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
have actually caught my attention. It seems the mode is set to auto-update. But the last 2 lines actually confuse me, where the CurrentVersion
and CurrentVersionCode
has already been set. If I don't update this, will my app be auto-updated in the repository even if the auto-update mode is set to true?
Note: I've updated the version name and version code in my project in the release as well. Now the version name is 1.1.0
and the version code is 2
.