Skip to content

Commit a42b22d

Browse files
DawoudSherazregisb
authored andcommitted
feat!: Rename branches master->release, nightly->main
1 parent a73f745 commit a42b22d

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.github/workflows/sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sync with private repo
22

33
on:
44
push:
5-
branches: [ master, main, nightly ]
5+
branches: [ release, main ]
66

77
jobs:
88
sync:

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Run tests
22

33
on:
44
pull_request:
5-
branches: [master]
5+
branches: [ release, main ]
6+
push:
7+
branches: [ release, main ]
68

79
jobs:
810
tests:

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Grade the submission (in this case, mark it as being correct)::
9696

9797
The submission should then appear as correct with the message that you provided on the command line:
9898

99-
.. image:: https://github.com/overhangio/tutor-xqueue/raw/master/screenshots/correctanswer.png
99+
.. image:: https://github.com/overhangio/tutor-xqueue/raw/release/screenshots/correctanswer.png
100100
:alt: Correct answer
101101
:align: center
102102

@@ -128,7 +128,7 @@ Feel free to add breakpoints (``breakpoint()``) anywhere in your source code to
128128
License
129129
-------
130130

131-
This work is licensed under the terms of the `GNU Affero General Public License (AGPL) <https://github.com/overhangio/tutor-xqueue/blob/master/LICENSE.txt>`_.
131+
This work is licensed under the terms of the `GNU Affero General Public License (AGPL) <https://github.com/overhangio/tutor-xqueue/blob/release/LICENSE.txt>`_.
132132

133133
Troubleshooting
134134
---------------
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- 💥[Improvement] Rename Tutor's two branches (by @DawoudSheraz):
2+
* Rename **master** to **release**, as this branch runs the latest official Open edX release tag.
3+
* Rename **nightly** to **main**, as this branch runs the Open edX master branches, which are the basis for the next Open edX release.

tutorxqueue/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from .__about__ import __version__
1717

18-
# Handle version suffix in nightly mode, just like tutor core
18+
# Handle version suffix in main mode, just like tutor core
1919
if __version_suffix__:
2020
__version__ += "-" + __version_suffix__
2121

0 commit comments

Comments
 (0)