Problem
The buildhash in Ankis about screen was incorrect for me, even though I built with the latest commit today. It confused me quite a bit as you can see in If a list is un-done, then the text gets appended after the list · Issue #4010 · ankitects/anki · GitHub as well (header “versions”).
I did find that the file out/buildhash
stays the same when I checkout other branches, including its time stamp. E.g. I’ve got the latest main branch and an old test branch. After building main, checking out test and then running ./run
, Ankis about screen in test reports the wrong hash (it reports the one from main).
But if I delete out/buildhash
then it is regenerated correctly with the correct hash – only this one time though, then the issue described above appears again.
Question
Is this intended behavior or a bug? I’d expect the about screen to always be the actual commit hash.