See #2762. Another attempt at fixing PyPI build.

This commit is contained in:
Dion Moult
2023-02-15 20:06:07 +11:00
parent 785d2e601c
commit 77a0da2a17
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ on:
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# * * * * *
- cron: "49 23 13 * *" # 11min before utc midnight
- cron: "49 23 15 * *" # 11min before utc midnight
env:
major: 0
+2 -2
View File
@@ -97,10 +97,10 @@ else
endif
rm -rf dist/working
# distutils cannot access anything outside the cwd, so hackishly swap out the README.md
cp README.md dist/README.bak
cp README.md ../README.bak
cp ../../README.md README.md
python -m build
cp dist/README.bak README.md
mv ../README.bak README.md
cd dist && mv ifcopenshell-0.7.0-py3-none-any.whl ifcopenshell-0.7.0-$(VERSION)-$(PYVERSION)-none-$(PLATFORMTAG).whl
rm -rf dist/ifcopenshell
rm -rf dist/ifcopenshell.egg-info