Help needed regarding UpdateCheckMode misunderstanding

Hello, I’m trying to submit my app and I need advice regarding the metadata file.

Here is the following context:

ff7acd2 (HEAD -> master, origin/master, origin/HEAD)    #Fixed Gradle Wrapper
7ba0576                                                 #Forgot fastlane 2.txt
8d965e1 (tag: v1.0.1, origin/release)                   #Last tagged release

I haven’t changed my build.gradle.kts since tag v1.0.1 (8d965e1).

        versionCode = 2
        versionName = "1.0.1"

Reading the Build Metadata Reference I’m kind of lost regarding the build commit value and the relation with UpdateCheckMode.
My metadata/*.yml must point to the last commit due to the fixes but I am not sure to understand if UpdateCheckMode: Tags will create conflicts between my latest tag (8d965e) and my latest commit not tagged (ff7acd).

Builds:
  - versionName: '1.0.1'
    versionCode: 2
    commit: ff7acd2f6474f942df3d5c8391ac354afcac4093 #untagged but includes Gradle fix
...
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 1.0.1
CurrentVersionCode: 2

Will this configuration cause any conflict?
Thanks for your help!

Have you tried running the CI pipeline? If it fails it will most likely give you insight as to how you should proceed. If it passes it’s most likely fine and a maintainer will either confirm or tell you what to change if necessary.

Thanks for your feedback.

I ran fdroid build and it seems to fetch the correct revision.

INFO: Getting source for revision ff7acd2f6474f942df3d5c8391ac354afcac4093
DEBUG: > git checkout -f ff7acd2f6474f942df3d5c8391ac354afcac4093
INFO: Successfully built com.juliencardoux.openwol:2 from ff7acd2f6474f942df3d5c8391ac354afcac4093

As I read the reference again and checking the logs, it seems pretty clear now that the AutoUpdateMode and UpdateCheckMode only concern future updates detection.
I just wanted to make sure in order to prevent unnecessary back and forth.

Thanks again!

1 Like

Follow Up: If someone finds himself in the same type of situation, here is a discussion that could help.