Skip to content

Commit

Permalink
Make version dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Nov 2, 2023
1 parent d9e9782 commit f70af2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions pretalx_pages/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "1.1.3"
3 changes: 2 additions & 1 deletion pretalx_pages/apps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django.apps import AppConfig
from django.utils.translation import gettext_lazy
from pretalx_pages import __version__


class PluginApp(AppConfig):
Expand All @@ -13,7 +14,7 @@ class PretalxPluginMeta:
"Add static pages to your event site, for example Terms of Service, venue listings, a code of conduct, etc."
)
visible = True
version = "1.3.3"
version = __version__
category = "FEATURE"

def ready(self):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pretalx-pages"
version = "1.1.3"
dynamic = ["version"]
description = "Static pages for pretalx, e.g. information, venue listings, a Code of Conduct, etc."
readme = "README.rst"
license = {text = "Apache Software License"}
Expand Down

0 comments on commit f70af2a

Please sign in to comment.