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:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Read version from file
|
|
||||||
id: read_version
|
|
||||||
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
@ -26,7 +26,5 @@ scripts = { docker_apps_view = "app:main" }
|
|||||||
|
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
|
|
||||||
[tool.setuptools_scm]
|
[tool.setuptools.dynamic]
|
||||||
version_scheme = "guess-next-dev"
|
version = {file = "version.txt"}
|
||||||
local_scheme = "node-and-date"
|
|
||||||
write_to = "version.txt"
|
|
Loading…
Reference in New Issue
Block a user