Merge pull request #3247 from vector-im/feature/bma/master_main

`master` branch has been renamed to `main`
This commit is contained in:
Benoit Marty 2021-04-29 14:29:49 +02:00 committed by GitHub
commit 659d012e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 4 deletions

View File

@ -29,6 +29,14 @@ Test:
Other changes:
- New store descriptions
- `master` branch has been renamed to `main`. To apply change to your dev environment, run:
```sh
git branch -m master main
git fetch origin
git branch -u origin/main main
# And optionally
git remote prune origin
```
Changes in Element 1.1.6 (2021-04-16)
===================================================

View File

@ -59,7 +59,7 @@ allprojects {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
// Jitsi repo
maven {
url "https://github.com/vector-im/jitsi_libre_maven/raw/master/android-sdk-3.1.0"
url "https://github.com/vector-im/jitsi_libre_maven/raw/main/android-sdk-3.1.0"
// Note: to test Jitsi release you can use a local file like this:
// url "file:///Users/bmarty/workspaces/jitsi_libre_maven/android-sdk-3.1.0"
}

View File

@ -64,9 +64,9 @@ static def gitBranchName() {
}
}
// For Google Play build, build on any other branch than master will have a "-dev" suffix
// For Google Play build, build on any other branch than main will have a "-dev" suffix
static def getGplayVersionSuffix() {
if (gitBranchName() == "master") {
if (gitBranchName() == "main") {
return ""
} else {
return "-dev"
@ -119,7 +119,7 @@ android {
renderscriptSupportModeEnabled true
// `develop` branch will have version code from timestamp, to ensure each build from CI has a incremented versionCode.
// Other branches (master, features, etc.) will have version code based on application version.
// Other branches (main, features, etc.) will have version code based on application version.
versionCode project.getVersionCode()
// Required for sonar analysis