KoBeWi / Godot-Auto-Export-Version

Plugin for Godot that automatically updates your version every time you export the project.
https://godotengine.org/asset-library/asset/1430
MIT License
50 stars 4 forks source link

Port to Godot 4 #6

Closed Kubulambula closed 2 years ago

Kubulambula commented 2 years ago

I created 2 PRs that make this plugin work on 4.0

  1. Simple port
  2. A complete rework

The first is just a 1:1 port of the current 3.x version of this plugin. Nothing too fancy here.

The second is a rework mainly because uncommenting and commenting code inside one huge function is not as readable as it should for something that the user is expected to work with. So all the commented code is split into functions that can be called from anywhere and combined easily.

It has all the features of the current version with some minor code style changes with an added option to save the version to the ProjectSettings instead of a script.

All the code is documented in the style of the new class reference syntax so the class docs can be easily found and read in the Search Help tab.