Pulled ODK Collect app has the word dirty after the name

I just pulled the odk collect app from github and ran it in Android Studio. However, I noticed that after ODK Collect v1.17.1 theres a string of numbers and the word dirty after it. I'm not sure where its from or how I can remove it.


Hi @Shirley_Chen

we use this method to get version name https://github.com/opendatakit/collect/blob/master/collect_app/build.gradle#L41

so it's a result of this command: git describe --tags --dirty --always
If you want to change it you need to implement changes in that method.

1 Like

To add on to what @Grzesiek2010 has said, you are seeing the dirty keyword because you have made changes to the code and have not committed them yet. As soon as you commit them, the dirty keyword will go away and the commit hash will match your latest commit.