-
Notifications
You must be signed in to change notification settings - Fork 19
Release Procedure
Here are the steps that should be taken when releasing a new version of the app.
-
Update Project Source - For now we are packaging all of the available projects within the app (this may change in the future). In order to update the source you must use the latest version of the app to download all the sources (this includes target languages). Then open up the developer tools within the app and export the source. This will provide you with an archive of the source which you may then copy/replace into the assets directory.
-
Run Tests - A number of tests have been written to ensure critical components continue to function as improvements and fixes are made to the app. You should run these tests in order to ensure no regression has occurred.
-
Provide An Upgrade Path - You can run custom code when upgrading from one version to another in
com.door43.translationstudio.tasks.UpdateAppTask
. Generally you'll want to delete the old index so that the new one will be used. -
Bump Database Version (if necessary) and Provide DB Upgrade Path - You can increase the database number and run custom code when upgrading (or downgrading) from one database schema to another in
com.door43.translationstudio.core.IndexerSQLiteHelper
. -
Bump Build Number - The build number is the machine readable version of the app. This number should be incremented any time the apk is being built to be shared (not just for public releases).
-
Bump Version - Releases should cause the version numbers to be incremented according to the Semantic Versioning guidelines.
-
Tag Repository State - Once the above steps are completed you should commit all changes and create a tag marking the release. When tagging a development build you should create a tag using the following format for the title
x.x.x-x
where thex.x.x
is the version and the trailingx
is the build number. For public releases (releases published to the app store) you should exclude the trailing-x
. -
Push To Upstream - All new code changes and tags should be pushed to the upstream repository.
-
Draft Release - You should draft a new release using the recently pushed tag as the title. Be sure to include a list of new features as well as fixes. If you look at the last release you will find a link that shows all the commits made since that release. This is often a good source for organizing notes on the new release.