Skip to content

Commit e9f9a88

Browse files
chore: switch from master to main branch
1 parent 20dd261 commit e9f9a88

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/automated-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Automated Tests
22
on:
33
push:
4-
branches: [master, develop]
4+
branches: [main, develop]
55
pull_request:
6-
branches: [master, develop]
6+
branches: [main, develop]
77

88
permissions:
99
contents: read

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you followed the default installation instructions for the [MagicMirror²](ht
3131
The following command will download the installer and execute it:
3232

3333
```bash
34-
bash -c "$(curl -s https://raw.githubusercontent.com/Jopyth/MMM-Remote-Control/master/installer.sh)"
34+
bash -c "$(curl -s https://raw.githubusercontent.com/Jopyth/MMM-Remote-Control/main/installer.sh)"
3535
```
3636

3737
### Manual install
@@ -123,7 +123,7 @@ v1.1.1
123123
v1.1.2
124124
```
125125
126-
Then you can checkout that version with, for example `git checkout v1.0.0`, or use `git checkout master` to checkout the most recent version.
126+
Then you can checkout that version with, for example `git checkout v1.0.0`, or use `git checkout main` to checkout the most recent version.
127127
128128
## Known limitations
129129

docs/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"license": {
1111
"name": "MIT License",
12-
"url": "https://github.com/Jopyth/MMM-Remote-Control/blob/master/LICENSE.md"
12+
"url": "https://github.com/Jopyth/MMM-Remote-Control/blob/main/LICENSE.md"
1313
},
1414
"version": "2.3.0+"
1515
},

installer.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ if [ -d "$MM_HOME/modules/$MODULE_NAME" ] ; then
6868

6969
echo "You are currently on the $BRANCH branch."
7070
echo ""
71-
if [ "$BRANCH" == "master" ]; then
71+
if [ "$BRANCH" == "main" ]; then
7272
if check_yes "Do you want to switch to the develop branch?"; then
7373
git checkout develop
7474
fi
7575
else
76-
if check_yes "Do you want to switch to the master branch?"; then
77-
git checkout master
76+
if check_yes "Do you want to switch to the main branch?"; then
77+
git checkout main
7878
fi
7979
fi
8080
echo ""
@@ -105,16 +105,16 @@ else
105105
echo ""
106106
if check_yes "Is this correct and do you want to start installation?"; then
107107
echo ""
108-
echo "You can use either the master or the develop branch."
108+
echo "You can use either the main or the develop branch."
109109
echo "The develop branch contains more features, but is also more likely to cause errors or crashes."
110110
echo "This can be changed later by executing this script again, or using the git branch command."
111111
echo ""
112-
echo "By default the master branch will be installed."
112+
echo "By default the main branch will be installed."
113113
echo ""
114114
if check_yes "Do you want to install the develop branch instead?"; then
115115
BRANCH=develop
116116
else
117-
BRANCH=master
117+
BRANCH=main
118118
fi
119119

120120
cd "$MM_HOME/modules"

0 commit comments

Comments
 (0)