mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
Fix incorrect version replacement
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
VERSION:=`date '+%y%m%d'`
|
||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
dist:
|
dist:
|
||||||
ifndef PLATFORM
|
ifndef PLATFORM
|
||||||
@@ -10,8 +12,8 @@ endif
|
|||||||
cp -r blenderbim dist/
|
cp -r blenderbim dist/
|
||||||
cp -r dist/io_import_scene_ifc/ifcopenshell dist/blenderbim/
|
cp -r dist/io_import_scene_ifc/ifcopenshell dist/blenderbim/
|
||||||
rm -rf dist/io_import_scene_ifc
|
rm -rf dist/io_import_scene_ifc
|
||||||
cd dist/blenderbim && export VERSION=`date '+%y%m%d'` && sed -i "s/999999/$(VERSION)/" __init__.py
|
cd dist/blenderbim && sed -i "s/999999/$(VERSION)/" __init__.py
|
||||||
cd dist && zip -r blender28-bim-`date '+%y%m%d'`-$(PLATFORM).zip blenderbim
|
cd dist && zip -r blender28-bim-$(VERSION)-$(PLATFORM).zip blenderbim
|
||||||
cd dist && rm -rf io_* && rm -rf blenderbim && rm ifcblender-python-37-v0.6.0-b4ce5be-$(PLATFORM)64.zip
|
cd dist && rm -rf io_* && rm -rf blenderbim && rm ifcblender-python-37-v0.6.0-b4ce5be-$(PLATFORM)64.zip
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|||||||
Reference in New Issue
Block a user