Could not build app name.bresciani.marco.tkcompanionapp: Unexpected version/version code in output; APK: '0.2.10' / '30', Expected: '0.2.11' / '31'

I have the same issue of Unexpected version/version code in output and I’ve even tried to re-tag, but stiil the same error: it compiles 0.2.11 version but then gives a version error (https://gitlab.com/marcoXbresciani/fdroiddata/-/jobs/2171086895).

BUILD SUCCESSFUL in 8m 49s
132 actionable tasks: 132 executed
2022-03-07 13:16:52,791 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/builds/marcoXbresciani/fdroiddata/build/name.bresciani.marco.tkcompanionapp, universal_newlines=False, shell=None)
2022-03-07 13:16:53,086 INFO: Successfully built version 0.2.11 of name.bresciani.marco.tkcompanionapp from 6a26d209dad4ac4b55a83163ab219a1016229d46
2022-03-07 13:16:54,236 DEBUG: AXML contains a RESOURCE MAP
2022-03-07 13:16:54,237 DEBUG: Start of Namespace mapping: prefix 20: 'android' --> uri 26: 'http://schemas.android.com/apk/res/android'
2022-03-07 13:16:54,238 DEBUG: Checking build/name.bresciani.marco.tkcompanionapp/android/app/build/outputs/apk/release/app-release-unsigned.apk
2022-03-07 13:16:54,245 DEBUG: AXML contains a RESOURCE MAP
2022-03-07 13:16:54,246 DEBUG: Start of Namespace mapping: prefix 20: 'android' --> uri 26: 'http://schemas.android.com/apk/res/android'
2022-03-07 13:16:54,275 ERROR: Could not build app name.bresciani.marco.tkcompanionapp: Unexpected version/version code in output; APK: '0.2.10' / '30',  Expected: '0.2.11' / '31'
2022-03-07 13:16:54,275 DEBUG: Error encoutered, stopping by user request.
Uploading artifacts for failed job
00:03
Uploading artifacts...
WARNING: repo/: no matching files                  
unsigned/: found 1 matching files and directories  
tmp/: found 1 matching files and directories       
Uploading artifacts as "archive" to coordinator... 201 Created  id=2171086895 responseStatus=201 Created token=ZUWuxkpz
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1

Hints?

commit: cd19aa6167db95f281363d098a3710be6fcb3477 pls

Thanks.
It’s already tagged.
And actually I’ve even just re-tagged it.
Trying again.

tagged is not the issue, the .yml has the wrong commit to build from: https://gitlab.com/marcoXbresciani/fdroiddata/-/blob/15f75ae6972feab6ff35653f84d3851c2da0b8ce/metadata/name.bresciani.marco.tkcompanionapp.yml#L100

Damn copy-paste.
Sorry.
Thanks!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.