Skip to content

Commit 1498d55

Browse files
committed
only use first 3 segments of version for stubs zip
1 parent 2513277 commit 1498d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ stubs:
283283
@$(PYTHON) tools/extract_pyi.py extmod/ulab/code/ $(STUBDIR)/ulab
284284
@for d in ports/*/bindings; do \
285285
$(PYTHON) tools/extract_pyi.py "$$d" $(STUBDIR); done
286-
@sed -e "s,__version__,`python -msetuptools_scm`," < setup.py-stubs > circuitpython-stubs/setup.py
286+
@sed -e "s,__version__,`python -msetuptools_scm | cut -d. -f1-3`," < setup.py-stubs > circuitpython-stubs/setup.py
287287
@cp README.rst-stubs circuitpython-stubs/README.rst
288288
@cp MANIFEST.in-stubs circuitpython-stubs/MANIFEST.in
289289
@$(PYTHON) tools/board_stubs/build_board_specific_stubs/board_stub_builder.py

0 commit comments

Comments
 (0)