Skip to content

Commit 1183311

Browse files
committed
minor fix
1 parent 3a848e7 commit 1183311

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ jobs:
9898
print(f'Version verification successful: {actual_version}')
9999
"
100100
101+
- name: Verify setup.py version
102+
run: |
103+
python -c "
104+
import sys
105+
sys.path.insert(0, '.')
106+
from setup import get_version
107+
version = get_version()
108+
print(f'setup.py get_version() returns: {version}')
109+
"
110+
101111
- name: Build package
102112
run: |
103113
# Clean any previous builds
@@ -112,15 +122,6 @@ jobs:
112122
print(f'Building package with version: {version}')
113123
"
114124
115-
# Verify setup.py reads the correct version
116-
python -c "
117-
import sys
118-
sys.path.insert(0, '.')
119-
from setup import get_version
120-
version = get_version()
121-
print(f'setup.py get_version() returns: {version}')
122-
"
123-
124125
python -m build
125126
126127
- name: Verify built package version

0 commit comments

Comments
 (0)