Update version to 0.2.0 and add version context processor for footer display
All checks were successful
Build and push Docker image / build (push) Successful in 2m21s

This commit is contained in:
Edgar P. Burkhart 2025-06-15 11:38:10 +02:00
parent 8faff47696
commit 2478ec95e8
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
5 changed files with 11 additions and 3 deletions

View file

@ -1 +1 @@
© <a href="https://edgarpierre.fr">Edgar P. Burkhart</a> <a href="{% url "legal" %}">Mentions légales</a>
Musik {{ VERSION }} © <a href="https://code.edgarpierre.fr/edpibu/musik">Edgar P. Burkhart</a> <a href="{% url "legal" %}">Mentions légales</a>

View file

@ -0,0 +1,5 @@
from django.conf import settings
def version(request):
return {"VERSION": settings.VERSION}

View file

@ -13,6 +13,8 @@ https://docs.djangoproject.com/en/5.2/ref/settings/
import os
from pathlib import Path
VERSION = "0.2.0"
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@ -71,6 +73,7 @@ TEMPLATES = [
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
"musik.context_processors.version",
],
},
},

View file

@ -1,6 +1,6 @@
[project]
name = "musik"
version = "0.1.5"
version = "0.2.0"
description = "Le jeu de Musik."
readme = "README.md"
requires-python = ">=3.12"

2
uv.lock generated
View file

@ -423,7 +423,7 @@ wheels = [
[[package]]
name = "musik"
version = "0.1.5"
version = "0.2.0"
source = { virtual = "." }
dependencies = [
{ name = "celery" },