Add version string to Makefile so users know their version

This commit is contained in:
Dion Moult
2019-11-17 12:40:14 +11:00
parent 85076dc697
commit f249d55d3c
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -7,10 +7,11 @@ endif
mkdir -p dist
cd dist && wget https://s3.amazonaws.com/ifcopenshell-builds/ifcblender-python-37-v0.6.0-b4ce5be-$(PLATFORM)64.zip
cd dist && unzip ifcblender*
cp -r io_export_ifc dist/
cp -r dist/io_import_scene_ifc/ifcopenshell dist/io_export_ifc/
cp -r blenderbim dist/
cp -r dist/io_import_scene_ifc/ifcopenshell dist/blenderbim/
rm -rf dist/io_import_scene_ifc
cd dist && zip -r blender28-bim-`date '+%y%m%d'`-$(PLATFORM).zip io_export_ifc
cd dist/blenderbim && export VERSION=`date '+%y%m%d'` && sed -i "s/999999/$(VERSION)/" __init__.py
cd dist && zip -r blender28-bim-`date '+%y%m%d'`-$(PLATFORM).zip blenderbim
cd dist && rm -rf io_* && rm ifcblender-python-37-v0.6.0-b4ce5be-$(PLATFORM)64.zip
.PHONY: clean
+1 -1
View File
@@ -4,7 +4,7 @@ bl_info = {
"Industry Foundation Classes (.ifc) file format",
"author": "Dion Moult, IfcOpenShell",
"blender": (2, 80, 0),
"version": (0, 0, 99999),
"version": (0, 0, 999999),
"location": "File > Export, File > Import, Scene / Object / Material / Mesh Properties",
"tracker_url": "https://sourceforge.net/p/ifcopenshell/"
"_list/tickets?source=navbar",