Compare commits

..

3 commits

Author SHA1 Message Date
bes-r
7eee8ba8ca v0.4.60 - VERSION leesfix (LF)
All checks were successful
Deploy server-up (dev) / deploy (push) Successful in 45s
Deploy server-up (prod) / deploy (push) Successful in 3s
Release / release (push) Successful in 3s
2026-06-06 22:26:22 +02:00
bes-r
82f68278f6 v0.4.60 - tweecijferig patch-nummer 2026-06-06 22:16:10 +02:00
bes-r
fd9b6ff53d v0.4.6 - kaal versienummer, geen -dev/-rc suffix 2026-06-06 22:12:15 +02:00
7 changed files with 32 additions and 7 deletions

View file

@ -28,12 +28,12 @@ jobs:
id: version id: version
run: | run: |
set -euo pipefail set -euo pipefail
BASE="$(cat VERSION 2>/dev/null || echo 0.0.0)" BASE="$(tr -d '[:space:]' < VERSION 2>/dev/null || echo 0.0.0)"
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
VERSION="${GITHUB_REF_NAME#v}" VERSION="${GITHUB_REF_NAME#v}"
CHANNEL="release" CHANNEL="release"
else else
VERSION="${BASE}-rc.${GITHUB_SHA:0:8}" VERSION="${BASE}"
CHANNEL="main" CHANNEL="main"
fi fi
echo "VERSION=${VERSION}" >> "$GITHUB_ENV" echo "VERSION=${VERSION}" >> "$GITHUB_ENV"

View file

@ -27,12 +27,12 @@ jobs:
id: version id: version
run: | run: |
set -euo pipefail set -euo pipefail
BASE="$(cat VERSION 2>/dev/null || echo 0.0.0)" BASE="$(tr -d '[:space:]' < VERSION 2>/dev/null || echo 0.0.0)"
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
VERSION="${GITHUB_REF_NAME#v}" VERSION="${GITHUB_REF_NAME#v}"
CHANNEL="release" CHANNEL="release"
else else
VERSION="${BASE}-dev.${GITHUB_SHA:0:8}" VERSION="${BASE}"
CHANNEL="dev" CHANNEL="dev"
fi fi
echo "VERSION=${VERSION}" >> "$GITHUB_ENV" echo "VERSION=${VERSION}" >> "$GITHUB_ENV"

5
.gitattributes vendored Normal file
View file

@ -0,0 +1,5 @@
# Houd VERSION en shell/workflow-bestanden op LF, ook op Windows,
# zodat de CI ze correct leest.
VERSION text eol=lf
*.sh text eol=lf
*.yml text eol=lf

View file

@ -1,3 +1,23 @@
# v0.4.60 — Tweecijferig patch-nummer
## Versiebeleid vanaf v0.4.60
Het patch-deel (laatste cijfer) gebruikt nu twee cijfers en loopt in tientallen:
`0.4.60`, `0.4.61`, … `0.4.69`, `0.4.70`. Blijft semver-compatibel (het deel
wordt als geheel getal vergeleken, dus `0.4.60` > `0.4.6`).
---
# v0.4.6 — Kaal versienummer op alle builds
## Wijziging in v0.4.6
De deploy-workflows tonen nu overal het kale versienummer uit het `VERSION`-
bestand (of de tagnaam), zonder `-dev`/`-rc.<sha>`-suffix. Eenvoudiger te lezen;
bump bij elke wijziging gewoon `VERSION`.
---
# v0.4.5 — Releases & in-app update-check # v0.4.5 — Releases & in-app update-check
## Nieuw in v0.4.5 ## Nieuw in v0.4.5

View file

@ -1 +1 @@
0.4.5 0.4.60

View file

@ -18,7 +18,7 @@ from core.modules import Module, CORE, discover
app = Flask(__name__, static_folder="static", template_folder="templates") app = Flask(__name__, static_folder="static", template_folder="templates")
VERSION = os.environ.get("SU_VERSION", "0.4.5") VERSION = os.environ.get("SU_VERSION", "0.4.60")
MODULES: list[Module] = [] MODULES: list[Module] = []
USER_MOD = APP / "modules" USER_MOD = APP / "modules"

View file

@ -771,7 +771,7 @@ tailwind.config = {
<script> <script>
function app() { function app() {
return { return {
version: '0.4.5', version: '0.4.60',
page: location.hash.slice(1) || 'dashboard', page: location.hash.slice(1) || 'dashboard',
isMobile: window.innerWidth < 768, isMobile: window.innerWidth < 768,
sidebarOpen: window.innerWidth >= 768 && localStorage.getItem('sidebar') !== 'closed', sidebarOpen: window.innerWidth >= 768 && localStorage.getItem('sidebar') !== 'closed',