Distribute IfcConvert on GH actions

This commit is contained in:
Dion Moult
2024-07-26 20:04:04 +10:00
parent ae7b1bb9b4
commit 153a71f91e
2 changed files with 75 additions and 1 deletions
+10 -1
View File
@@ -90,6 +90,15 @@ coverage:
clean:
rm -rf htmlcov
.PHONY: zip-ifcconvert
zip-ifcconvert:
ifndef PLATFORM
$(error PLATFORM is not set)
endif
mkdir -p dist
cd dist && wget $(IFCCONVERT_URL)
cd dist && mv *.zip ifcconvert-$(VERSION)-$(PLATFORM).zip
.PHONY: zip
zip:
ifndef PLATFORM
@@ -139,4 +148,4 @@ ifeq ($(IS_STABLE), TRUE)
else
cp build/dist/ifcopenshell-*.whl dist/ifcopenshell-$(VERSION)a$(VERSION_DATE)-$(PYVERSION)-none-$(PLATFORMTAG).whl
endif
# rm -rf build
rm -rf build