Skip to content

Commit 879f4b5

Browse files
committed
Adds GitHub Actions to publish full and light Docker images on tag.
1 parent 8bc15e4 commit 879f4b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ jobs:
233233
id: get_version
234234
run: |
235235
# Read the __version__ variable from the generated _version.py
236-
VERSION=$(python -c "import _version; print(_version.__version__)")
236+
# Add current directory to PYTHONPATH to allow importing _version.py
237+
VERSION=$(PYTHONPATH=. python -c "import _version; print(_version.__version__)")
237238
# Remove leading 'v' if present (e.g., v1.0.0 -> 1.0.0)
238239
VERSION="${VERSION#v}"
239240
# Extract major version (e.g., 1.0.0 -> 1)

0 commit comments

Comments
 (0)