mirror of https://github.com/pyodide/pyodide.git
Fix versioning with tags starting with v
This commit is contained in:
parent
386caadf05
commit
98f843df0e
2
Makefile
2
Makefile
|
@ -162,7 +162,7 @@ root/.built: \
|
|||
cp src/pyodide.py root/lib/python$(PYMINOR)/site-packages
|
||||
if command -v git > /dev/null 2>&1 \
|
||||
&& git describe --tags > /dev/null 2>&1; then \
|
||||
sed -i "s/__version__ =.*/__version__ = '$(shell git describe --tags)'/g" \
|
||||
sed -i "s/__version__ =.*/__version__ = '$(shell git describe --tags | sed -r 's/^v//')'/g" \
|
||||
root/lib/python$(PYMINOR)/site-packages/pyodide.py; \
|
||||
fi
|
||||
( \
|
||||
|
|
Loading…
Reference in New Issue