docs/Developers/From-code-to-deployment.md
So, your code works! You've solved all the bugs and now you just need to get it out to everyone!
So, how does THAT work?
The process has two major parts, one is "Getting your code in the main repository" and the other is "Deploying versions" - as a developer, you'll be taking an active part in the first process, but the second process is on me =)
When I'm ready to release a new version I:
https://monitor.f-droid.org/builds/log/com.unciv.app/<appCodeNumber>), and the new release will eventually be available hereIn case a fix is urgent because a bug in the last release severely affects a large number of players, any Collaborator (next step up from Contributor) is able to trigger a patch release.
We start at a 10% rollout, after a day with no major problems go to 30%, and after another day to 100%. If you were counting that means that most players will get the new version after 2+ days.
If there were problems, we halt the current rollout, fix the problems, and release a patch version, which starts at 10% again.
Dear future me - the automation was extremely annoying guesswork to set up, so the facts you need to know are:
Pages for the Unciv Github Wiki are kept in the main repository under docs.
The process to edit the wiki is as follows:
update wiki".Doing things this way has several distinct advantages over using the Github Wiki web interface directly:
However, it also imposes a couple of conventions about how links should best be formatted:
| Link type | Format | Example |
|---|---|---|
| Inter-wiki | Should begin with "./", and include ".md". | ./Mods.md#other |
| Code or asset file | Should begin with "https://github.com/yairm210/Unciv/blob/master/", and be relative to the project root. | https://github.com/yairm210/Unciv/blob/master/android/assets/game.png |
These formats will allow IDEs like Android studio to resolve these links and check for broken links, while also working on the Github code browser.
The bot that updates the wiki from the main repository automatically translates them into formats that are compatible with Github Wikis, which have somewhat non-standard requirements.