]> git.phdru.name Git - m_lib.defenc.git/commitdiff
Build(devscripts/release): PEP 625 master
authorOleg Broytman <phd@phdru.name>
Sun, 15 Dec 2024 11:23:40 +0000 (14:23 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 19 Dec 2024 14:04:49 +0000 (17:04 +0300)
devscripts/release

index a34b2cc802a4f812ee789d722ea807850e850772..c94c8a8e0429f512cb3967ac2e0726511d29ed6d 100755 (executable)
@@ -9,6 +9,13 @@ python setup.py build_py &&
 python setup.py build &&
 python setup.py sdist &&
 
 python setup.py build &&
 python setup.py sdist &&
 
+rv=$(python setup.py --version)
+if [ -f dist/m_lib.defenc-$rv.tar.gz ]; then
+    cd dist &&
+    mv m_lib.defenc-$rv.tar.gz m_lib_defenc-$rv.tar.gz &&
+    cd ..
+fi &&
+
 find build -name '*.py[co]' -delete &&
 python setup.py bdist_wheel --universal &&
 
 find build -name '*.py[co]' -delete &&
 python setup.py bdist_wheel --universal &&