feat!: Rename branches master->release, nightly->main

This commit is contained in:
Syed Muhammad Dawoud Sheraz Ali 2024-11-19 18:01:36 +05:00 committed by Régis Behmo
parent 5648bc4829
commit 519062a168
5 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,7 @@ name: Sync with private repo
on: on:
push: push:
branches: [ master, main, nightly ] branches: [ release, main ]
jobs: jobs:
sync: sync:

View File

@ -2,7 +2,9 @@ name: Run tests
on: on:
pull_request: pull_request:
branches: [master] branches: [ release, main ]
push:
branches: [ release, main ]
jobs: jobs:
tests: tests:

View File

@ -71,4 +71,4 @@ This Tutor plugin is maintained by Muhammad Ali from `Edly <https://edly.io>`__.
License License
------- -------
This software is licensed under the terms of the AGPLv3. This work is licensed under the terms of the `GNU Affero General Public License (AGPL) <https://github.com/overhangio/tutor-android/blob/release/LICENSE.txt>`_.

View File

@ -0,0 +1,3 @@
- 💥[Improvement] Rename Tutor's two branches (by @DawoudSheraz):
* Rename **master** to **release**, as this branch runs the latest official Open edX release tag.
* Rename **nightly** to **main**, as this branch runs the Open edX master branches, which are the basis for the next Open edX release.

View File

@ -11,7 +11,7 @@ from tutor.types import Config, get_typed
from .__about__ import __version__ from .__about__ import __version__
# Handle version suffix in nightly mode, just like tutor core # Handle version suffix in main mode, just like tutor core
if __version_suffix__: if __version_suffix__:
__version__ += "-" + __version_suffix__ __version__ += "-" + __version_suffix__