Skip to content

Commit

Permalink
Added file version.py and fixed reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Oct 13, 2023
1 parent 4d8d5b1 commit 8462dc7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ jobs:
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]

# file .github/workflows/checks.yml
# step "Check Version(s)" searches file exasol/toolbox/version.py
# while actually the github repo using the PTB should use a local path
# to its own version file
- name: Check Version(s)
run: poetry run version-check exasol/toolbox/version.py
run: poetry run version-check version.py

build-documentation-job:
name: Build Documentation
Expand All @@ -28,10 +32,10 @@ jobs:
steps:
- name: SCM Checkout
uses: actions/checkout@v3

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]

- name: Build Documentation
run: |
poetry run python -m nox -s build-docs
Expand Down
7 changes: 7 additions & 0 deletions version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ATTENTION:
# This file is generated, do not edit it manually!
# If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`.
MAJOR = 0
MINOR = 0
PATCH = 1
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"

0 comments on commit 8462dc7

Please sign in to comment.