Add: Automatische Versionierung via VERSION-Datei

- VERSION-Datei als Single Source of Truth (startet bei 1.5.1)
- CI liest Version aus Datei statt hardcoded
- Patch-Version wird nach Deploy automatisch gebumpt
- Commit mit [skip ci] verhindert Endlosschleife
This commit is contained in:
Daniel 2026-03-07 14:17:27 +01:00
parent 7bebb7db9a
commit 9689af4d3a
4 changed files with 34 additions and 5 deletions

View file

@ -4,7 +4,7 @@ COPY web/package*.json ./
RUN npm install --no-audit --no-fund
COPY web/ .
ARG VITE_BUILD_CHANNEL=stable
ARG VITE_APP_VERSION=1.5.0
ARG VITE_APP_VERSION=dev
ENV VITE_BUILD_CHANNEL=$VITE_BUILD_CHANNEL
ENV VITE_APP_VERSION=$VITE_APP_VERSION
RUN npm run build