Help: update my App

I already made the query on this topic (https://forum.f-droid.org/t/help-update-my-app/7935), but I don’t know if I have to do something else to publish the update of my app?

v1.1 still tags 1.0: https://github.com/Webierta/ToDoList/blob/v1.1/app/build.gradle#L12. F-Droid checks Git tags and adds a new version if it finds a greater versionCode under one of the tags. In this case it

  • checks out tag v1.0,
  • finds versionCode 1 under it,
  • checks out tag v1.1,
  • finds the same versionCode 1,
  • bails out because we already have a build with versionCode 1.

Proper versioning is important, see Membuat versi aplikasi  |  Android Studio  |  Android Developers.

What you should do: just like Licaon_Kter said, delete the existing v1.1 tag, push a new v1.1 tag pointing to a hash after the versionCode change.

2 Likes

Thanks for your answer. I try to follow your comment:

  1. I have removed the tag.

But now I’m a little lost because versionCode was already changed at https://github.com/Webierta/ToDoList/blob/master/app/build.gradle :
versionCode 2
versionName “1.1”

So how do I point a new label?

Just make a new release with commit Merge pull request #2 from Poussinou/patch-1 · Webierta/ToDoList@423213b · GitHub

1 Like

Thank you, then it is enough with:

git tag -a v1.1 -m "Releasing version v1.1"
git push origin v1.1

Try harder
https://github.com/Webierta/ToDoList/tags

1 Like

Now yes (I think), before doing so I wanted to make sure. Thanks for your help.

1 Like

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