2 Commits

Author SHA1 Message Date
10290fd28d Merge pull request 'Better versionning' (#25) from fixed-cache into main
Reviewed-on: #25
2025-12-05 16:55:42 +01:00
b26a6a2d0a Better versionning 2025-12-05 16:46:44 +01:00
4 changed files with 7 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.venv
__pycache__/

View File

@@ -4,6 +4,7 @@ RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY VERSION /VERSION
COPY /app/ /app/
RUN pip install --no-cache-dir -r requirements.txt

1
VERSION Normal file
View File

@@ -0,0 +1 @@
4.0.3

View File

@@ -4,7 +4,9 @@ import logging
import json
import sys
VERSION = "4.0.2"
# Read version from VERSION file
with open(os.path.join(os.path.dirname(os.path.dirname(__file__)), "VERSION"), "r", encoding="utf-8") as f:
VERSION = f.read().strip()
# Logger setup
logging.basicConfig(