Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] Element Android v1.3.13 #4901

Closed
47 of 56 tasks
bmarty opened this issue Jan 11, 2022 · 3 comments
Closed
47 of 56 tasks

[Release] Element Android v1.3.13 #4901

bmarty opened this issue Jan 11, 2022 · 3 comments
Assignees

Comments

@bmarty
Copy link
Member

bmarty commented Jan 11, 2022

Release checklist

This is a regular release. Will be pushed to GPlay on beta channel and on F-Droid.
Next release will be 1.3.16. We want to use even patch version values for regular release and odd values for hotfix releases.

Before the release

  • Weblate sync, fix lint issue if any (in a dedicated PR)
  • Check the update of the store descriptions (using Google Translate if necessary) to ensure that the changes are acceptable to be published to the stores.
  • Run the script ./tools/release/pushPlayStoreMetaData.sh. You can check in the GooglePlay console the Activity log to check the effect.

Do the release

  • Create release with gitflow, branch name release/1.3.13
  • Check the crashes from the PlayStore
  • Check the rageshake with the current dev version: https://github.com/matrix-org/element-android-rageshakes/labels/1.3.13-dev
  • Run the integration test, and especially UiAllScreensSanityTest.allScreensTest()
  • Create an account on matrix.org
  • Run towncrier: towncrier --version v1.3.13 --draft (remove --draft do write the file CHANGES.md)
  • Add file for fastlane under ./fastlane/metadata/android/en-US/changelogs
  • Push the branch and start a draft PR (will not be merged), to check that the CI is happy with all the changes.
  • Finish release with gitflow, delete the draft PR
  • Push main and the new tag v1.3.13 to origin
  • Checkout develop
  • Increase version in ./vector/build.gradle
  • Change the value of SDK_VERSION in the file ./matrix-sdk-android/build.gradle
  • Commit and push develop
  • Wait for Buildkite to build the main branch.
  • Run the script ~/scripts/releaseElement.sh. It will download the APKs from Buildkite check them and sign them.
  • Install the APK on your phone to check that the upgrade went well (no init sync, etc.)
  • Create a new beta release on the GooglePlay console and upload the 4 signed Apks.
  • Check that the version codes are correct
  • Copy the fastlane change to the GooglePlay console in the section en-GB.
  • Push to beta release to 100% of the users
  • Create the release on gitHub from the tag, copy paste the block from the file CHANGES.md
  • Add the 4 signed APKs to the GitHub release
  • Ping the Android Internal room
  • Add an entry in the internal diary

Once Live on PlayStore

  • Ping the Android public room and update its topic

After at least 2 days

  • Check the rageshakes
  • Check the crash reports on the GooglePlay console
  • Check the Android Element room for any reported issues on the new version
  • If all is OK, push to production and notify Markus (Bubu) to release the F-Droid version
  • Ping the Android public room and update its topic with the new available version

Android SDK2

  • Checkout the main branch on Element Android project

On the SDK2 project

https://github.com/matrix-org/matrix-android-sdk2

  • Create a release with GitFlow
  • Update the value of VERSION_NAME in the file gradle.properties
  • Update the files ./build.gradle and ./gradle/gradle-wrapper.properties manually, to use the latest version for the dependency. You can get inspired by the same files on Element Android project.
  • Run the script ./tools/import_from_element.sh
  • Check the diff in the file ./matrix-sdk-android/build.gradle and restore what may have been erased (in particular the line apply plugin: "com.vanniktech.maven.publish" and the line about the version)
  • Let the script finish to build the library
  • Update the file CHANGES.md
  • Finish the release using GitFlow
  • Push the branch main, the new tag and the branch develop to origin
Release on MavenCentral
  • Run the command ./gradlew publish --no-daemon --no-parallel. You'll need some non-public element to do so
  • Connect to https://s01.oss.sonatype.org
  • Click on Staging Repositories and check the the files have been uploaded
  • Click on close
  • Wait (check Activity tab until step "Repository closed" is displayed)
  • Click on release. The staging repository will disappear
  • Check that the release is available in https://repo1.maven.org/maven2/org/matrix/android/matrix-android-sdk2/ (it can take a few minutes)
Release on GitHub
  • Create the release on GitHub from the tag
  • Upload the AAR on the GitHub release

Android SDK2 sample

https://github.com/matrix-org/matrix-android-sdk2-sample

@bmarty bmarty self-assigned this Jan 11, 2022
@bmarty
Copy link
Member Author

bmarty commented Jan 11, 2022

image

@scottwallacesh
Copy link

scottwallacesh commented Jan 11, 2022

I'm unable to send messages to encrypted rooms.

Messages failed to send.

Edit: logging out and logging in again got it working again.

@bmarty
Copy link
Member Author

bmarty commented Jan 12, 2022

Thanks for the feedback @scottwallacesh. We will prepare a corrective release 1.3.14 today with this bug fixed and another one regarding the sync. (see #4924)

@bmarty bmarty closed this as completed Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants