Update pyproject and build script to read from version file
This commit is contained in:
parent
18e8fdf239
commit
8d05d1b7c3
@ -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
|
||||
|
@ -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"}
|
Loading…
Reference in New Issue
Block a user