-
Notifications
You must be signed in to change notification settings - Fork 5
Home
If we want a new release , let's take the new release of : 4.1.6-1.11.17 where :
- 4.1.6 is the version for tchap-web-v4
- 1.11.17 is the version for element-web
- Create a branch named
bump-to-4.1.6-1.11.17
- update package.json
"version": "4.1.5-1.11.17" => "version": "4.1.6-1.11.17"
- Generate the yarn.lock
yarn install
- Commit your changes with the message "Bump to 4.1.6-1.11.17"
- Open a PR and have it validated
- Create a new tag from
develop_tchap
and push it to the repo (add the prefixtchap-
)
git tag tchap-4.1.6-1.11.17
git push origin tchap-4.1.6-1.11.17
-
Verify that feature flags are correctly configured for your needs in config.json. In particular related to the cross-signing features:
tchap_activate_cross_signing_and_secure_storage
andtchap_disable_cross_signing_setup_toast
. -
Optionnaly add a welcome message to for users (user notice) see : https://github.com/vector-im/element-web/blob/develop/docs/config.md#customisation--branding You need to edit these entries in the config.json:
"user_notice": {
"title": "...", // required
"description": "...", // required
"show_once":true/false // optional
}
DO NOT CREATE RELEASE BY HAND. The CI should create the release : https://github.com/tchapgouv/tchap-web-v4/releases/tag/tchap-4.1.6-1.11.17 with all assets.
- For the next steps, go see the wiki in the infra repo.
Create a patch of matrix-react-sdk for a new feature :
patch-package --patch-dir patches/myfeature --include path/to/react-sdk/files/modified matrix-react-sdk
(the --include arg is so that only your modification is included in your patch. By default, patch-package throws all modifications into the same file, which is harder to keep track.)
This creates the file : patches/myfeature/matrix-react-sdk+3.53.0.patch
(or whatever version number you are patching)
Then, the postinstall script will apply each patch separately, you don't need to do anything.
It will run: patch-package --patch-dir patches/myfeature
Edit : if you are a human, you can view patch files in Vscode with this extension for example : Diff Viewer VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=caponetto.vscode-diff-viewer