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:
Julian Stirling 2025-06-09 12:08:31 +01:00
parent 24b6eb74a1
commit c79184a6d9
8 changed files with 267 additions and 9 deletions

View file

@ -1,6 +1,6 @@
[project]
name = "openflexure-microscope-server"
version = "3.0.0.alpha1"
version = "3.0.0-alpha1"
authors = [
{ name="Richard Bowman", email="richard.bowman@cantab.net" },
{ name="Joel Collins" },