Commit 2e23079a authored by Michael Droettboom's avatar Michael Droettboom Committed by GitHub

Merge pull request #168 from rth/fix-version-tags

Fix versioning for tags starting with a "v"
parents 386caadf 98f843df
......@@ -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
( \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment