Skip to content

Commit

Permalink
Move version number to its own file
Browse files Browse the repository at this point in the history
This way it's easier to use that same version number in multiple places.
  • Loading branch information
akikoskinen committed Dec 21, 2023
1 parent 815c4d4 commit 17ad460
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
1 change: 1 addition & 0 deletions docs/build.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Building and releasing the GDPR API Tester
==========================================

Update version number in `VERSION` file.

# GitHub package

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[project]
name = "gdpr-api-tester"
version = "0.0.1"
authors = [
{ name="Mikko Keskinen", email="mikko.keskinen@hel.fi" },
]
Expand All @@ -16,7 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Quality Assurance",
]
dynamic = ["dependencies"]
dynamic = ["dependencies", "version"]

[project.urls]
"Homepage" = "https://github.com/City-of-Helsinki/profile-gdpr-api-tester"
Expand All @@ -31,6 +30,7 @@ build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
version = {file = "VERSION"}

[tool.setuptools.packages]
find = {}

0 comments on commit 17ad460

Please sign in to comment.