Use same version number for server and webapp, add CI check
- Check webapp and server have same version number - Use `genversion` on build to create javascript file with version string from pyproject.toml - Expose the version number in the js interface - Correct format of current of alpha version string because javascript complains Closes #382
This commit is contained in:
parent
24b6eb74a1
commit
c79184a6d9
8 changed files with 267 additions and 9 deletions
|
|
@ -58,6 +58,19 @@ meta-build-image:
|
|||
- tags
|
||||
- web
|
||||
|
||||
# Check webapp and server hav matching version string
|
||||
version-check:
|
||||
stage: analysis
|
||||
#use a base python image as nothing needs to be installed
|
||||
image: python:3.11
|
||||
script:
|
||||
- ./check_version_sync.py
|
||||
only:
|
||||
- branches
|
||||
- merge_requests
|
||||
- tags
|
||||
- web
|
||||
|
||||
# Python static analysis with ruff
|
||||
ruff-lint:
|
||||
stage: analysis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue