mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-03 00:02:28 +08:00
feat: add version management with setuptools-scm
- Configure hatch-vcs for automatic version generation from git tags - Update pyproject.toml to use dynamic versioning - Add src/_version.py for runtime version access - Update src/__init__.py to import version from _version - Add __APP_VERSION__ to frontend vite config - Add version script to frontend package.json - Update CI workflows to trigger on version tags instead of branches
This commit is contained in:
2
.github/workflows/deploy-pages.yml
vendored
2
.github/workflows/deploy-pages.yml
vendored
@@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
tags: ['v*']
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
||||
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
@@ -2,7 +2,6 @@ name: Build and Publish Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, main]
|
||||
tags: ['v*']
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
|
||||
Reference in New Issue
Block a user