Skip to content

Commit

Permalink
Prepare release v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Nov 14, 2023
1 parent 11b9178 commit c9f6a3f
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 6 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
### Changelog

### 1.0.2
* MVR improvements:
* Add collections for GroupObjects and Layers
* Support group object list
* Process child lists of MVR objects
* Apply scaling of 3D objects in correct order
* Load textures for 3D models
* Fixture profiles management:
* Backport local and GDTF Share file management and import from development branch
* Add GDTF Share integration (can be used with username/password from gdtf-share.com)
* Improve local profiles handling
* Do not require Blender restart after GDTF profiles import
* Improve GDTF parsing
* Fix issue with localize structures by requesting localized versions of strings

#### 1.0.1
* Improved MVR import:
* Import Focus Points and Fixture Color
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ A DMX visualization tool inside <a href="https://blender.org">Blender</a>, desig
First of all, make sure you have installed [Blender 3.0](https://www.blender.org/download/) or higher;
Then, download the `zip` file:

### LATEST RELEASE (STABLE): v1.0.1
### LATEST RELEASE (STABLE): v1.0.2

1. From the [latest release](https://github.com/open-stage/blender-dmx/releases/latest) download the [blenderDMX_v1.0.1.zip](https://github.com/open-stage/blender-dmx/releases/download/v1.0.1/blenderDMX_v1.0.1.zip) file
1. From the [latest release](https://github.com/open-stage/blender-dmx/releases/latest) download the [blenderDMX_v1.0.2.zip](https://github.com/open-stage/blender-dmx/releases/download/v1.0.2/blenderDMX_v1.0.2.zip) file

### ROLLING RELEASE (UNSTABLE)

Expand Down
20 changes: 20 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
* Checkout a new branch `release_v_X.Y.Z`
* Add changes to CHANGELOG.md
* Update versions (in text and in links) in README.md
* Update __init__.py → bl_info → version
* Check that ./assets/* doesn't include extra GDTF files or folders
* Generate a release:
* (ensure to have pygit) python -m pip install pygit2
* Edit scripts/build_release.py
* branch_name = "release_v1.0.2"
* if you added new directories, make sure to add them
* python scripts/build_release.py
* test the release
* Draft a release, attach the zip file
* Make PR, add details, merge
* Pull latest main
* git tag v1.0.2
* git push origin v1.0.2
* Edit release on GH, make public


2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "DMX",
"description": "DMX visualization and programming, with GDTF/MVR and Network support",
"author": "open-stage",
"version": (1, 0, 1),
"version": (1, 0, 2),
"blender": (3, 0, 0),
"location": "3D View > DMX",
"wiki_url": "https://github.com/open-stage/blender-dmx/wiki",
Expand Down
8 changes: 5 additions & 3 deletions scripts/build_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
branch_name = Repository(".").head.shorthand
if branch_name == None:
raise Exception("Run the script from the project root.")

branch_name = "release_v1.0.1"
print("branch name", branch_name)
branch_name = "release_v1.0.2"

release_name = branch_name
if re.match(r"^release_v\d+\.\d+\.\d+$", branch_name):
Expand All @@ -34,7 +34,7 @@
os.mkdir(BUILD_DIR + "/dmx")

# List of files/directories to skip during copy
ignore = ignore_patterns("*.pyc", "__pycache__", ".mypy_cache", ".pytest_cache")
ignore = ignore_patterns("*.pyc", "__pycache__", ".mypy_cache", ".pytest_cache", "data.json")

print("Copying dependencies to build directory...")
copytree("assets", BUILD_DIR + "/dmx/assets", ignore=ignore)
Expand All @@ -43,6 +43,8 @@
copytree("pygdtf", BUILD_DIR + "/dmx/pygdtf", ignore=ignore)
copytree("pymvr", BUILD_DIR + "/dmx/pymvr", ignore=ignore)
copytree("sacn", BUILD_DIR + "/dmx/sacn", ignore=ignore)
copytree("share_api_client", BUILD_DIR + "/dmx/share_api_client", ignore=ignore)
copytree("preferences", BUILD_DIR + "/dmx/preferences", ignore=ignore)

print("Copying source to build directory...")
for filename in os.listdir("."):
Expand Down

0 comments on commit c9f6a3f

Please sign in to comment.