Skip to content

Commit

Permalink
Merge branch 'master' into nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
regisb committed Nov 20, 2023
2 parents b2f97d0 + 5eceee6 commit a065a93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name="tutor-ecommerce",
version=about["__package_version__"],
version=about["__version__"],
url="https://docs.tutor.overhang.io/",
project_urls={
"Documentation": "https://docs.tutor.overhang.io/",
Expand Down
7 changes: 0 additions & 7 deletions tutorecommerce/__about__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
__version__ = "16.0.0"
__package_version__ = __version__

# Handle version suffix for nightly, just like tutor core.
__version_suffix__ = "nightly"

if __version_suffix__:
__version__ += "-" + __version_suffix__

5 changes: 5 additions & 0 deletions tutorecommerce/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@
import pkg_resources

from tutor import hooks as tutor_hooks
from tutor.__about__ import __version_suffix__
from tutormfe.hooks import MFE_APPS, MFE_ATTRS_TYPE

from .__about__ import __version__

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

config = {
"unique": {
"MYSQL_PASSWORD": "{{ 8|random_string }}",
Expand Down

0 comments on commit a065a93

Please sign in to comment.