Skip to content

nndda/Version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  Version

Godot 4.5 or above Tests status

Tiny Semantic Version parser and utility for Godot 4.

Installation

Copy the content of addons/ to your project directory.

Usage

var ver_current = Version.new("1.2.0")
var ver_latest = Version.new("1.3.2")

var update_needed = ver_current.is_lesser_than(ver_latest) # true

print("You are on: ", str(ver_current))
# You are on: 1.2.0
var version = Version.new("3.9.52-alpha.6+abc123")

print(version.major) # 3
print(version.minor) # 9
print(version.patch) # 52
print(version.prerelease) # ['alpha', '6']
print(version.buildmetadata) # 'abc123'

More information available through the built-in documentation. Press f1, and look for Version class.

License

Copyright © 2026 nnda

About

Tiny Semantic Version parser and utility for Godot 4

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors