Repository navigation
How do I number and publish a release of my build so phones see it as an update? #581
|
My fork signs APKs with its own key. How should I set versionCode and versionName, and how do I publish a release so that families' phones pick it up as an update? |
Replies: 1 comment
|
The app offers the releases of the repository its build names ( Two numbers matter, for two different questions:
To publish: git tag v0.2.0
git push origin v0.2.0On a
On a manual run, the How the app's check treats releases:
More: https://github.com/lumenpearson/lessons/blob/main/docs/build.md#cut-a-release and https://github.com/lumenpearson/lessons/blob/main/docs/design.md#updates-come-from-github |
The app offers the releases of the repository its build names (
LESSONS_BUILD_REPOSITORY, #469). Your fork'sapk.ymlpasses the repository it runs in, so its APKs check your releases with nothing configured. For a build made by hand, setlessons.build.repositoryto yourowner/name; without it, the build checkslumenpearson/lessons. Anything released there is signed with another key, and the installer refuses it over yours. A value that is notowner/namestops the build.Two numbers matter, for two different questions:
versionCodedoes not go down. It never comparesversionName.