Carbon
Constants
COMMIT_VERSION = 9
MAJOR_VERSION = 0
MINOR_VERSION = 1
VERSION = "0.1.9"
Class methods
bump!(type : BumpType = BumpType::Commit, repo_root : Path | String = ".", stage : Bool = false) : Version
Bumps the version and updates all target files
carbon_version
Sourcecheck(repo_root : Path | String = ".") : NamedTuple(synced: Bool, shard_version: Version | Nil, git_commits: Int32, diff: Int32)
Checks if shard.yml commit number matches current Git commit count
Returns the current version parsed from shard.yml, or derived from Git
Sets major and minor version numbers explicitly across all targets
Synchronizes all target files with the exact current Git commit count
version
SourceMacros
version!(path = "shard.yml")
Declarative compile-time macro to define VERSION constants inside any module or class