Unciv/docs/Developers/From-code-to-deployment.md

82 lines
7.1 KiB
Markdown
Raw Normal View History

Move wiki pages into repository, fix dozens of broken links. (#5854) * Updated Mods (markdown) * Updated Scenarios (markdown) * Updated Mods (markdown) * Added itch.io release * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Project structure and major classes (markdown) * Updated Mods (markdown) * Created Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Added link to Uniques * Updated Uniques (markdown) * Added 'triggers victory' unique * Updated Making a new Civilization (markdown) * Created Building locally without Android Studio (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Added improvement uniques * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * I thought a tutorial on how to create a custom tileset in the first place could not hurt * Moved the sentence to the "Creating a custom tileset" page * Updated Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Destroyed Scenarios (markdown) * Updated Uniques (markdown) * Changed Travis documentation to Github actions documentation * Updated Translating (markdown) * Updated Translating (markdown) * Updated From code to deployment (markdown) * Removed "working on templated rule variants" because we currently don't * Updated Uniques (markdown) * Updated uniques based on everything done during the policy update * Misplaced a unique * Updated Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Removed [pending] messages for PR's that were no longer pending * Added uniques from telecommuncations/advanced balistics * Added all the uniques from my PR's (telecommunicatoins -- shrines); added uniques I deprecated at some point * Updated Uniques (markdown) * Added missing deprecated unique * Added uniques changed in #4292 * Updated Uniques (markdown) * Added uniques from #4311 and #4301 * Added uniques from #4331 * Added Discord webhook message * Created page with basic information * Typo * Made information not incorrect * Added units.json * Manual new lines was a terrible idea * Updated JSON files for mods (markdown) * Added link to JSON files for mods explanation * Added eras.json * capitalization * Added a header * Improved example * Added Buildings.json * hmmm * Doesn't work, sad * Added information on Specialists.json * Updated JSON files for mods (markdown) * Added uniques from #4372 * Updated Uniques (markdown) * Updated uniques after #4393 * Updated uniques after #4423 * Add new and deprecated uniques of #4487, #4459 * add wonder images * Fixed mod directory * Updated Uniques (markdown) * Updated uniques after #4530, #4505, #4419 * Reworked the passages on tileFilter, terrainFilter and improvementFilter from code inspection * Added a more indept guide on how to install UnCiv on macOS * Updated Uniques (markdown) * Created Credits.md (markdown) * Destroyed Credits.md (markdown) * Added installing from source method * Improve Sound chapter, added Civilopedia text chapter * Added after #4619 * Added unitTypes.json * Added beliefs.json * Updated Translating (markdown) * Added eras:unitBaseBuyCost * Added after #4568 * Added ruins.json * Added after #4771 * Added rudimentary Difficulties.json doc * Added ruin-specfic uniques explanation * Added TOC and Nations * Detailed Techs chapter * Fix 1 line - tech uniques * Added Quests.json * Added ModOptions * Added ModOptions * Added UnitPromotions, structured TOC * Added Policies * Added crosslinks * Fixed broken links * Added TileResources * Added more crosslinks * Small fix resource tile graphix aren't toggle-able * Added TileImprovements * Added Terrains * Updated JSON files for mods (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated JSON files for mods (markdown) * Updated Translating (markdown) * Created Civilization-related JSON files (markdown) * Created Map-related JSON files (markdown) * Double title * Double title * Created Unit-related JSON files (markdown) * Moved sounds * Updated Unit related JSON files (markdown) * Moved Stats * Created Miscellaneous JSON files (markdown) * Removed content that has been moved to separate pages, update TOC * Created _Sidebar (markdown) * Updated Uniques (markdown) * test * Fixed broken links. Apparently the way 'preview' links to pages differs from how it links when you view them on a saved page for some reason * Updated Uniques (markdown) * Fix relative `..` link suddenly leaving the wiki * Updated Miscellaneous JSON files (markdown) * Fix relative links * Fix era links to Units.json * Updated Uniques (markdown) * Updated From code to deployment (markdown) * Added uniques & cityFilters up to #4995 * Mass deprecation as per 422607 * Fixed broken link to redirect to Unit Uniques in Wiki * Fixed broken link to redirect to Unit Uniques in Wiki table * Updated Uniques (markdown) * Updated Getting Started (markdown) * Updated Uniques (markdown) * Added uniques & filters up to #5094 * Removed a deprecated unique * Moved some uniques to better sections, removed an outdated unique * fixed a typo * Updated Uniques (markdown) * eras.json is now required * Removed outdated religion section * Added missing terrain uniques * Added resource uniques * Fixed resource unique link * Added missing unique for tile improvements * Fixed broken link * "Disappearing" translations explained * Updated Home (markdown) * Some atlas info, leader portraits * Created Force rating calculation (markdown) * "Not yet" for Image atlas distribution in mods * Updated uniques after #5259 * Added information on conditionals * Updated growth unique * Added conditional support up to #5270 * Typo * Escape html tags * Add conditionals to table of contents * Updated _Sidebar (markdown) * Created Audiovisual Mods (markdown) * Audiovisual Mods, move Graphics-only info * Updated Audiovisual Mods (markdown) * Audiovisual Mods - Draft done. * Documented translation method * Updated Translations, mods, and modding freedom in Open Source (markdown) * Fix Typos and Links * New Terrain uniques / 2 sections * Atlas control via multiple Images.x folders is now live * Link to atlas paragraph * startBias clarification * Missing bracket * Added uniques & conditionals up to #5345 (my PR's only) * Updated Force rating calculation (markdown) * Updated Getting Started (markdown => asciidoc) * Undid renaming * Updated Getting Started (asciidoc => markdown) * Added fix for Gradle sync fail * Updated Project structure and major classes (markdown) * Bump Java version from JDK 8 to JDK 11 due to gradle upgrade * Updated uniques & conditionals up to #5618 from my PR's * Created Regions (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Mention docs/uniques.md, emphasized Stat capitalization * Move wiki files into `/docs/wiki`. * Migrate inter-Markdown links. * Fix pre-existing broken links and anchors. * Standardize repository links for AS linting. * Add wiki footer. * Updated Uniques (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Add GH Action for updating wiki. * Play it safer, and don't `push -f`. (Should be the same either way though.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
# From code to deployment
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 =)
## Getting your code in the main repo
- First off, push your changes with Git to your own branch at https://github.com/YourUsername/Unciv.git. I hope you've been doing this during development too, but that's none of my business \*sips tea\*
- Issue a pull request from https://github.com/YourUsername/Unciv - from the Pull Requests is the simplest
- The Travis build will check that your proposed change builds properly and passes all tests
- I'll go over your pull request and will ask questions and request changes - this is not only for code quality and standard, it's mostly so you can learn how the repo works for the next change you make =)
- When everything looks good, I'll merge your code in and it'll enter the next release!
Move wiki pages into repository, fix dozens of broken links. (#5854) * Updated Mods (markdown) * Updated Scenarios (markdown) * Updated Mods (markdown) * Added itch.io release * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Project structure and major classes (markdown) * Updated Mods (markdown) * Created Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Added link to Uniques * Updated Uniques (markdown) * Added 'triggers victory' unique * Updated Making a new Civilization (markdown) * Created Building locally without Android Studio (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Added improvement uniques * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * I thought a tutorial on how to create a custom tileset in the first place could not hurt * Moved the sentence to the "Creating a custom tileset" page * Updated Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Destroyed Scenarios (markdown) * Updated Uniques (markdown) * Changed Travis documentation to Github actions documentation * Updated Translating (markdown) * Updated Translating (markdown) * Updated From code to deployment (markdown) * Removed "working on templated rule variants" because we currently don't * Updated Uniques (markdown) * Updated uniques based on everything done during the policy update * Misplaced a unique * Updated Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Removed [pending] messages for PR's that were no longer pending * Added uniques from telecommuncations/advanced balistics * Added all the uniques from my PR's (telecommunicatoins -- shrines); added uniques I deprecated at some point * Updated Uniques (markdown) * Added missing deprecated unique * Added uniques changed in #4292 * Updated Uniques (markdown) * Added uniques from #4311 and #4301 * Added uniques from #4331 * Added Discord webhook message * Created page with basic information * Typo * Made information not incorrect * Added units.json * Manual new lines was a terrible idea * Updated JSON files for mods (markdown) * Added link to JSON files for mods explanation * Added eras.json * capitalization * Added a header * Improved example * Added Buildings.json * hmmm * Doesn't work, sad * Added information on Specialists.json * Updated JSON files for mods (markdown) * Added uniques from #4372 * Updated Uniques (markdown) * Updated uniques after #4393 * Updated uniques after #4423 * Add new and deprecated uniques of #4487, #4459 * add wonder images * Fixed mod directory * Updated Uniques (markdown) * Updated uniques after #4530, #4505, #4419 * Reworked the passages on tileFilter, terrainFilter and improvementFilter from code inspection * Added a more indept guide on how to install UnCiv on macOS * Updated Uniques (markdown) * Created Credits.md (markdown) * Destroyed Credits.md (markdown) * Added installing from source method * Improve Sound chapter, added Civilopedia text chapter * Added after #4619 * Added unitTypes.json * Added beliefs.json * Updated Translating (markdown) * Added eras:unitBaseBuyCost * Added after #4568 * Added ruins.json * Added after #4771 * Added rudimentary Difficulties.json doc * Added ruin-specfic uniques explanation * Added TOC and Nations * Detailed Techs chapter * Fix 1 line - tech uniques * Added Quests.json * Added ModOptions * Added ModOptions * Added UnitPromotions, structured TOC * Added Policies * Added crosslinks * Fixed broken links * Added TileResources * Added more crosslinks * Small fix resource tile graphix aren't toggle-able * Added TileImprovements * Added Terrains * Updated JSON files for mods (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated JSON files for mods (markdown) * Updated Translating (markdown) * Created Civilization-related JSON files (markdown) * Created Map-related JSON files (markdown) * Double title * Double title * Created Unit-related JSON files (markdown) * Moved sounds * Updated Unit related JSON files (markdown) * Moved Stats * Created Miscellaneous JSON files (markdown) * Removed content that has been moved to separate pages, update TOC * Created _Sidebar (markdown) * Updated Uniques (markdown) * test * Fixed broken links. Apparently the way 'preview' links to pages differs from how it links when you view them on a saved page for some reason * Updated Uniques (markdown) * Fix relative `..` link suddenly leaving the wiki * Updated Miscellaneous JSON files (markdown) * Fix relative links * Fix era links to Units.json * Updated Uniques (markdown) * Updated From code to deployment (markdown) * Added uniques & cityFilters up to #4995 * Mass deprecation as per 422607 * Fixed broken link to redirect to Unit Uniques in Wiki * Fixed broken link to redirect to Unit Uniques in Wiki table * Updated Uniques (markdown) * Updated Getting Started (markdown) * Updated Uniques (markdown) * Added uniques & filters up to #5094 * Removed a deprecated unique * Moved some uniques to better sections, removed an outdated unique * fixed a typo * Updated Uniques (markdown) * eras.json is now required * Removed outdated religion section * Added missing terrain uniques * Added resource uniques * Fixed resource unique link * Added missing unique for tile improvements * Fixed broken link * "Disappearing" translations explained * Updated Home (markdown) * Some atlas info, leader portraits * Created Force rating calculation (markdown) * "Not yet" for Image atlas distribution in mods * Updated uniques after #5259 * Added information on conditionals * Updated growth unique * Added conditional support up to #5270 * Typo * Escape html tags * Add conditionals to table of contents * Updated _Sidebar (markdown) * Created Audiovisual Mods (markdown) * Audiovisual Mods, move Graphics-only info * Updated Audiovisual Mods (markdown) * Audiovisual Mods - Draft done. * Documented translation method * Updated Translations, mods, and modding freedom in Open Source (markdown) * Fix Typos and Links * New Terrain uniques / 2 sections * Atlas control via multiple Images.x folders is now live * Link to atlas paragraph * startBias clarification * Missing bracket * Added uniques & conditionals up to #5345 (my PR's only) * Updated Force rating calculation (markdown) * Updated Getting Started (markdown => asciidoc) * Undid renaming * Updated Getting Started (asciidoc => markdown) * Added fix for Gradle sync fail * Updated Project structure and major classes (markdown) * Bump Java version from JDK 8 to JDK 11 due to gradle upgrade * Updated uniques & conditionals up to #5618 from my PR's * Created Regions (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Mention docs/uniques.md, emphasized Stat capitalization * Move wiki files into `/docs/wiki`. * Migrate inter-Markdown links. * Fix pre-existing broken links and anchors. * Standardize repository links for AS linting. * Add wiki footer. * Updated Uniques (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Add GH Action for updating wiki. * Play it safer, and don't `push -f`. (Should be the same either way though.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
## Deploying versions
When I'm ready to release a new version I:
2022-03-09 23:37:15 +07:00
- Comment "prepare version" in one of the open PRs tagged as 'mergeable translation' to trigger the translation branch creation.
- This also bumps the versions in the buildConfig.kt file, and generates a starting version summary in changelog.md.
- Merge the PR and delete the branch (so next version branch starts fresh)
- From my workstation - pull the latest changes and run the [translation generation](../Other/Translating.md#translation-generation---for-developers)
- Edits to the autogenerated version notes in changelog.md to make them less than 500 chars (needed for Google Play) and more user-readable
- Add a tag to the commit of the version. When the [Github action](https://github.com/yairm210/Unciv/actions/workflows/buildAndDeploy.yml) sees that we've added a tag, it will run a build, and this time (because of the configuration we put in the [yml file](https://github.com/yairm210/Unciv/blob/master/.github/workflows/buildAndDeploy.yml) file), it will:
- Pack a .jar file, which will work for every operating system with Java
- Use Linux and Windows JDKs to create standalone zips for 32 and 64 bit systems, because we can't rely on the fact that users will have a JRE
- Download [Butler](https://itch.io/docs/butler/installing.html) and use it to [push](https://itch.io/docs/butler/pushing.html) the new versions to the [itch.io page](https://yairm210.itch.io/unciv)
- Read the changelog.md file to get the changes for the latest version
- Upload all of these files to a new release on Github, with the release notes, which will get added to the [Releases](https://github.com/yairm210/Unciv/releases) page
- Send an announcement on the Discord server of the version release and release notes via webhook
- Pack, Sign, and Upload a new APK to the Google Play Console at 10% rollout
- The F-Droid bot checks periodically if we added a new tag. When it recognizes that we did, it will update the [yaml file here](https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.unciv.app.yml)
- When the bot next runs and sees that there's a version it doesn't have a release for, it will attempt to build the new release. The log of the build will be added [here](https://monitor.f-droid.org/builds/build) (search for Unciv, there's a log link like this: `https://monitor.f-droid.org/builds/log/com.unciv.app/<appCodeNumber>`), and the new release will eventually be available [here](https://f-droid.org/en/packages/com.unciv.app/)
Move wiki pages into repository, fix dozens of broken links. (#5854) * Updated Mods (markdown) * Updated Scenarios (markdown) * Updated Mods (markdown) * Added itch.io release * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Project structure and major classes (markdown) * Updated Mods (markdown) * Created Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Added link to Uniques * Updated Uniques (markdown) * Added 'triggers victory' unique * Updated Making a new Civilization (markdown) * Created Building locally without Android Studio (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Added improvement uniques * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * I thought a tutorial on how to create a custom tileset in the first place could not hurt * Moved the sentence to the "Creating a custom tileset" page * Updated Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Destroyed Scenarios (markdown) * Updated Uniques (markdown) * Changed Travis documentation to Github actions documentation * Updated Translating (markdown) * Updated Translating (markdown) * Updated From code to deployment (markdown) * Removed "working on templated rule variants" because we currently don't * Updated Uniques (markdown) * Updated uniques based on everything done during the policy update * Misplaced a unique * Updated Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Removed [pending] messages for PR's that were no longer pending * Added uniques from telecommuncations/advanced balistics * Added all the uniques from my PR's (telecommunicatoins -- shrines); added uniques I deprecated at some point * Updated Uniques (markdown) * Added missing deprecated unique * Added uniques changed in #4292 * Updated Uniques (markdown) * Added uniques from #4311 and #4301 * Added uniques from #4331 * Added Discord webhook message * Created page with basic information * Typo * Made information not incorrect * Added units.json * Manual new lines was a terrible idea * Updated JSON files for mods (markdown) * Added link to JSON files for mods explanation * Added eras.json * capitalization * Added a header * Improved example * Added Buildings.json * hmmm * Doesn't work, sad * Added information on Specialists.json * Updated JSON files for mods (markdown) * Added uniques from #4372 * Updated Uniques (markdown) * Updated uniques after #4393 * Updated uniques after #4423 * Add new and deprecated uniques of #4487, #4459 * add wonder images * Fixed mod directory * Updated Uniques (markdown) * Updated uniques after #4530, #4505, #4419 * Reworked the passages on tileFilter, terrainFilter and improvementFilter from code inspection * Added a more indept guide on how to install UnCiv on macOS * Updated Uniques (markdown) * Created Credits.md (markdown) * Destroyed Credits.md (markdown) * Added installing from source method * Improve Sound chapter, added Civilopedia text chapter * Added after #4619 * Added unitTypes.json * Added beliefs.json * Updated Translating (markdown) * Added eras:unitBaseBuyCost * Added after #4568 * Added ruins.json * Added after #4771 * Added rudimentary Difficulties.json doc * Added ruin-specfic uniques explanation * Added TOC and Nations * Detailed Techs chapter * Fix 1 line - tech uniques * Added Quests.json * Added ModOptions * Added ModOptions * Added UnitPromotions, structured TOC * Added Policies * Added crosslinks * Fixed broken links * Added TileResources * Added more crosslinks * Small fix resource tile graphix aren't toggle-able * Added TileImprovements * Added Terrains * Updated JSON files for mods (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated JSON files for mods (markdown) * Updated Translating (markdown) * Created Civilization-related JSON files (markdown) * Created Map-related JSON files (markdown) * Double title * Double title * Created Unit-related JSON files (markdown) * Moved sounds * Updated Unit related JSON files (markdown) * Moved Stats * Created Miscellaneous JSON files (markdown) * Removed content that has been moved to separate pages, update TOC * Created _Sidebar (markdown) * Updated Uniques (markdown) * test * Fixed broken links. Apparently the way 'preview' links to pages differs from how it links when you view them on a saved page for some reason * Updated Uniques (markdown) * Fix relative `..` link suddenly leaving the wiki * Updated Miscellaneous JSON files (markdown) * Fix relative links * Fix era links to Units.json * Updated Uniques (markdown) * Updated From code to deployment (markdown) * Added uniques & cityFilters up to #4995 * Mass deprecation as per 422607 * Fixed broken link to redirect to Unit Uniques in Wiki * Fixed broken link to redirect to Unit Uniques in Wiki table * Updated Uniques (markdown) * Updated Getting Started (markdown) * Updated Uniques (markdown) * Added uniques & filters up to #5094 * Removed a deprecated unique * Moved some uniques to better sections, removed an outdated unique * fixed a typo * Updated Uniques (markdown) * eras.json is now required * Removed outdated religion section * Added missing terrain uniques * Added resource uniques * Fixed resource unique link * Added missing unique for tile improvements * Fixed broken link * "Disappearing" translations explained * Updated Home (markdown) * Some atlas info, leader portraits * Created Force rating calculation (markdown) * "Not yet" for Image atlas distribution in mods * Updated uniques after #5259 * Added information on conditionals * Updated growth unique * Added conditional support up to #5270 * Typo * Escape html tags * Add conditionals to table of contents * Updated _Sidebar (markdown) * Created Audiovisual Mods (markdown) * Audiovisual Mods, move Graphics-only info * Updated Audiovisual Mods (markdown) * Audiovisual Mods - Draft done. * Documented translation method * Updated Translations, mods, and modding freedom in Open Source (markdown) * Fix Typos and Links * New Terrain uniques / 2 sections * Atlas control via multiple Images.x folders is now live * Link to atlas paragraph * startBias clarification * Missing bracket * Added uniques & conditionals up to #5345 (my PR's only) * Updated Force rating calculation (markdown) * Updated Getting Started (markdown => asciidoc) * Undid renaming * Updated Getting Started (asciidoc => markdown) * Added fix for Gradle sync fail * Updated Project structure and major classes (markdown) * Bump Java version from JDK 8 to JDK 11 due to gradle upgrade * Updated uniques & conditionals up to #5618 from my PR's * Created Regions (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Mention docs/uniques.md, emphasized Stat capitalization * Move wiki files into `/docs/wiki`. * Migrate inter-Markdown links. * Fix pre-existing broken links and anchors. * Standardize repository links for AS linting. * Add wiki footer. * Updated Uniques (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Add GH Action for updating wiki. * Play it safer, and don't `push -f`. (Should be the same either way though.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
## Deploying a release patch
In 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.
- In the PR that fixes the game-breaking bug, instead of merging, add a comment with "release patch" as body.
- Wait for the workflow (UncivBot) to do its thing (should be less than a minute - or watch from the "Actions" tab of the repo) and check.
Move wiki pages into repository, fix dozens of broken links. (#5854) * Updated Mods (markdown) * Updated Scenarios (markdown) * Updated Mods (markdown) * Added itch.io release * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Project structure and major classes (markdown) * Updated Mods (markdown) * Created Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Added link to Uniques * Updated Uniques (markdown) * Added 'triggers victory' unique * Updated Making a new Civilization (markdown) * Created Building locally without Android Studio (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Added improvement uniques * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Mods (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * I thought a tutorial on how to create a custom tileset in the first place could not hurt * Moved the sentence to the "Creating a custom tileset" page * Updated Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Destroyed Scenarios (markdown) * Updated Uniques (markdown) * Changed Travis documentation to Github actions documentation * Updated Translating (markdown) * Updated Translating (markdown) * Updated From code to deployment (markdown) * Removed "working on templated rule variants" because we currently don't * Updated Uniques (markdown) * Updated uniques based on everything done during the policy update * Misplaced a unique * Updated Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Updated Translating (markdown) * Updated Uniques (markdown) * Removed [pending] messages for PR's that were no longer pending * Added uniques from telecommuncations/advanced balistics * Added all the uniques from my PR's (telecommunicatoins -- shrines); added uniques I deprecated at some point * Updated Uniques (markdown) * Added missing deprecated unique * Added uniques changed in #4292 * Updated Uniques (markdown) * Added uniques from #4311 and #4301 * Added uniques from #4331 * Added Discord webhook message * Created page with basic information * Typo * Made information not incorrect * Added units.json * Manual new lines was a terrible idea * Updated JSON files for mods (markdown) * Added link to JSON files for mods explanation * Added eras.json * capitalization * Added a header * Improved example * Added Buildings.json * hmmm * Doesn't work, sad * Added information on Specialists.json * Updated JSON files for mods (markdown) * Added uniques from #4372 * Updated Uniques (markdown) * Updated uniques after #4393 * Updated uniques after #4423 * Add new and deprecated uniques of #4487, #4459 * add wonder images * Fixed mod directory * Updated Uniques (markdown) * Updated uniques after #4530, #4505, #4419 * Reworked the passages on tileFilter, terrainFilter and improvementFilter from code inspection * Added a more indept guide on how to install UnCiv on macOS * Updated Uniques (markdown) * Created Credits.md (markdown) * Destroyed Credits.md (markdown) * Added installing from source method * Improve Sound chapter, added Civilopedia text chapter * Added after #4619 * Added unitTypes.json * Added beliefs.json * Updated Translating (markdown) * Added eras:unitBaseBuyCost * Added after #4568 * Added ruins.json * Added after #4771 * Added rudimentary Difficulties.json doc * Added ruin-specfic uniques explanation * Added TOC and Nations * Detailed Techs chapter * Fix 1 line - tech uniques * Added Quests.json * Added ModOptions * Added ModOptions * Added UnitPromotions, structured TOC * Added Policies * Added crosslinks * Fixed broken links * Added TileResources * Added more crosslinks * Small fix resource tile graphix aren't toggle-able * Added TileImprovements * Added Terrains * Updated JSON files for mods (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated Getting Started (markdown) * Updated JSON files for mods (markdown) * Updated Translating (markdown) * Created Civilization-related JSON files (markdown) * Created Map-related JSON files (markdown) * Double title * Double title * Created Unit-related JSON files (markdown) * Moved sounds * Updated Unit related JSON files (markdown) * Moved Stats * Created Miscellaneous JSON files (markdown) * Removed content that has been moved to separate pages, update TOC * Created _Sidebar (markdown) * Updated Uniques (markdown) * test * Fixed broken links. Apparently the way 'preview' links to pages differs from how it links when you view them on a saved page for some reason * Updated Uniques (markdown) * Fix relative `..` link suddenly leaving the wiki * Updated Miscellaneous JSON files (markdown) * Fix relative links * Fix era links to Units.json * Updated Uniques (markdown) * Updated From code to deployment (markdown) * Added uniques & cityFilters up to #4995 * Mass deprecation as per 422607 * Fixed broken link to redirect to Unit Uniques in Wiki * Fixed broken link to redirect to Unit Uniques in Wiki table * Updated Uniques (markdown) * Updated Getting Started (markdown) * Updated Uniques (markdown) * Added uniques & filters up to #5094 * Removed a deprecated unique * Moved some uniques to better sections, removed an outdated unique * fixed a typo * Updated Uniques (markdown) * eras.json is now required * Removed outdated religion section * Added missing terrain uniques * Added resource uniques * Fixed resource unique link * Added missing unique for tile improvements * Fixed broken link * "Disappearing" translations explained * Updated Home (markdown) * Some atlas info, leader portraits * Created Force rating calculation (markdown) * "Not yet" for Image atlas distribution in mods * Updated uniques after #5259 * Added information on conditionals * Updated growth unique * Added conditional support up to #5270 * Typo * Escape html tags * Add conditionals to table of contents * Updated _Sidebar (markdown) * Created Audiovisual Mods (markdown) * Audiovisual Mods, move Graphics-only info * Updated Audiovisual Mods (markdown) * Audiovisual Mods - Draft done. * Documented translation method * Updated Translations, mods, and modding freedom in Open Source (markdown) * Fix Typos and Links * New Terrain uniques / 2 sections * Atlas control via multiple Images.x folders is now live * Link to atlas paragraph * startBias clarification * Missing bracket * Added uniques & conditionals up to #5345 (my PR's only) * Updated Force rating calculation (markdown) * Updated Getting Started (markdown => asciidoc) * Undid renaming * Updated Getting Started (asciidoc => markdown) * Added fix for Gradle sync fail * Updated Project structure and major classes (markdown) * Bump Java version from JDK 8 to JDK 11 due to gradle upgrade * Updated uniques & conditionals up to #5618 from my PR's * Created Regions (markdown) * Updated Uniques (markdown) * Updated Uniques (markdown) * Mention docs/uniques.md, emphasized Stat capitalization * Move wiki files into `/docs/wiki`. * Migrate inter-Markdown links. * Fix pre-existing broken links and anchors. * Standardize repository links for AS linting. * Add wiki footer. * Updated Uniques (markdown) * Updated Mods Making a new Civilization (markdown) * Updated Making a new Civilization (markdown) * Add GH Action for updating wiki. * Play it safer, and don't `push -f`. (Should be the same either way though.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
## About Google Play publishing
2022-03-09 23:37:15 +07:00
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:
- There is a user at the [Google Cloud Platform Account Manager](https://console.cloud.google.com/iam-admin/iam) called Unciv_Upload_Account. There is an access key to this account, in json, stored as the Github secret GOOGLE_PLAY_SERVICE_ACCOUNT_JSON.
- This user was granted ADMIN permissions to the Google Play (after much trial and error since nothing else seemed to work) under User > Users and Permissions. Under Manage > Account permissions, you can see that it has Admin.
## Updating the wiki
Pages for the [Unciv Github Wiki](https://github.com/yairm210/Unciv/wiki/) are kept in the main repository under [docs](https://github.com/yairm210/Unciv/tree/master/docs).
The process to edit the wiki is as follows:
1. Open a pull request in the main Unciv repository that changes files under [docs](https://github.com/yairm210/Unciv/tree/master/docs).
2. Once the pull request is merged, an account with commit privileges on the Unciv repository leaves a comment saying "`update wiki`".
3. This comment triggers a bot to copy all the wiki files from the main repository into the Github wiki, with a link back to the PR in its commit message for credit.
Doing things this way has several distinct advantages over using the Github Wiki web interface directly:
- Changes can be proposed via PR and proofread or fact-checked.
- A proper MarkDown editor or IDE can be used to write the wiki, bringing faster editing, clickable links while editing, better live HTML preview, and automatic detection of problems like broken links.
- The wiki files can also be browsed at https://github.com/yairm210/Unciv/tree/master/docs/wiki.
- Auto-generated documentation made by the build process can be placed directly in the wiki.
However, it also imposes a couple of conventions about how links should best be formatted:
| Link type | Format | Example |
| --------- | ------ | ------- |
2023-07-03 03:21:24 +07:00
| Inter-wiki | Should begin with "./", and include ".md". | [`./Mods.md#other`](../Modders/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`](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](https://github.com/yairm210/Unciv/tree/master/docs).
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.