Update pyproject and build script to read from version file
All checks were successful
Build Docker Image / build (push) Successful in 24s
Build and Upload Python Package / build (push) Successful in 11s

This commit is contained in:
ksyasuda 2024-08-17 18:53:21 -07:00
parent 18e8fdf239
commit 8d05d1b7c3
2 changed files with 2 additions and 8 deletions

View File

@ -15,10 +15,6 @@ jobs:
with:
python-version: '3.x'
- name: Read version from file
id: read_version
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip

View File

@ -26,7 +26,5 @@ scripts = { docker_apps_view = "app:main" }
dynamic = ["version"]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "node-and-date"
write_to = "version.txt"
[tool.setuptools.dynamic]
version = {file = "version.txt"}