mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2025-10-26 14:16:07 +01:00
Really strip prefix to ensure a valid package version
This commit is contained in:
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ install-doc: doc
|
||||
|
||||
pypi:
|
||||
version=`git describe --tags ${REV}` && \
|
||||
sed -i "s/version = .*/version = '$$version'/" setup.py
|
||||
sed -i "s/version = .*/version = '$$version'[1:]/" setup.py
|
||||
-rm -rf dist build
|
||||
python setup.py sdist bdist_wheel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user