Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Convert master branch to use main (#3559)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin authored Jun 30, 2020
1 parent 5fd1bfd commit a2ff180
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ tasks:
owner: [email protected]
source: ${repository}
###############################################################################
# Task: Master builds
# Task: Main builds
#
# Triggered whenever something is pushed/merged to the master branch.
# Triggered whenever something is pushed/merged to the main branch.
# Produces APKs signed with the staging key. These APKs are for
# testing only and should not be uploaded to App Stores.
#
###############################################################################
- $if: 'tasks_for == "github-push" && (event["ref"] == "refs/heads/master" || isFeatureBranch == true)'
- $if: 'tasks_for == "github-push" && (event["ref"] == "refs/heads/main" || isFeatureBranch == true)'
then:
$let:
featureName:
$if: 'isFeatureBranch == true'
then: "-f ${event.ref[19:]}"
else: "-f master"
else: "-f main"
in:
provisionerId: 'proj-firefoxreality'
workerType: 'ci-linux'
Expand All @@ -76,7 +76,7 @@ tasks:
- "secrets:get:project/firefoxreality/fr/mls-key"
routes:
- [email protected]
- index.project.firefoxreality.master
- index.project.firefoxreality.main
payload:
maxRunTime: 14400
image: 'mozillamixedreality/firefoxreality:200316-SDK29'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Head over to [Good First Bugs](https://github.com/MozillaReality/FirefoxReality/

## Pull Request Checklist

- Branch from the [master](https://github.com/mozillareality/firefoxreality/tree/master) branch and, if needed, [rebase](https://help.github.com/en/articles/about-git-rebase) to the current master branch before submitting your pull request. If it doesn't merge cleanly with master, you may be asked to [rebase](https://help.github.com/en/articles/about-git-rebase) your changes.
- Branch from the [main](https://github.com/mozillareality/firefoxreality/tree/main) branch and, if needed, [rebase](https://help.github.com/en/articles/about-git-rebase) to the current main branch before submitting your pull request. If it doesn't merge cleanly with main, you may be asked to [rebase](https://help.github.com/en/articles/about-git-rebase) your changes.

- Commits should be as small as possible, while ensuring that each commit is correct independently (i.e., each commit should compile and pass tests).

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can find us in [#fxr:mozilla.org on the Matrix](https://chat.mozilla.org/#/r

## Download developer APKs

**[Download](https://community-tc.services.mozilla.com/tasks/index/project.firefoxreality/master)** developer APKs for Firefox Reality generated from latest [master](https://github.com/MozillaReality/FirefoxReality/commits/master).
**[Download](https://community-tc.services.mozilla.com/tasks/index/project.firefoxreality/main)** developer APKs for Firefox Reality generated from latest [main](https://github.com/MozillaReality/FirefoxReality/commits/main).

## Locale support

Expand Down Expand Up @@ -39,7 +39,7 @@ This repo is only available to Mozilla employees. If you have access to the rele
The [repo in `third_party`](https://github.com/MozillaReality/FirefoxReality-android-third-party) can be updated like so:

```bash
pushd third_party && git fetch && git checkout master && git rebase origin/master && popd
pushd third_party && git fetch && git checkout main && git rebase origin/main && popd
```

*Fetch Git submodules.*
Expand Down
4 changes: 2 additions & 2 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ RUN git config --global user.email "[email protected]"
RUN git config --global user.name "No Reply"
RUN echo sdk.dir=/opt > local.properties && echo ndk.dir=/opt/ndk-bundle >> local.properties
RUN git checkout -b update origin/gradle
RUN git rebase origin/master
RUN git rebase origin/main
RUN git submodule init
RUN git submodule update
RUN ./gradlew --no-daemon assembleNoapi
RUN ./gradlew --no-daemon clean
RUN git checkout master
RUN git checkout main

# -- Cleanup ----------------------------------------------------------------------------

Expand Down

0 comments on commit a2ff180

Please sign in to comment.