From 77a0da2a176f868685f4e8c7c3f61ee7c4f7c0cb Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 15 Feb 2023 20:06:07 +1100 Subject: [PATCH] See #2762. Another attempt at fixing PyPI build. --- .github/workflows/ci-ifcopenshell-pypi.yml | 2 +- src/ifcopenshell-python/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-ifcopenshell-pypi.yml b/.github/workflows/ci-ifcopenshell-pypi.yml index b41f6b75d5..1ec7f280bb 100644 --- a/.github/workflows/ci-ifcopenshell-pypi.yml +++ b/.github/workflows/ci-ifcopenshell-pypi.yml @@ -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 diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index 6e8ff6da1f..33c670497d 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -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