artiframe version
The artiframe version command manages your project's version number.
The version info is read and updated via the APP_VERSION constant inside the config/app-version.php file.
It operates based on Semantic Versioning (Major.Minor.Patch) rules.
Usage
$ artiframe version [upgrade|downgrade] [major|minor|patch]
Examples
Let's say your current project version is 2.4.1:
| Command | New Version | Description |
|---|---|---|
version upgrade patch | 2.4.2 | Minor bug fixes (Patch increases). |
version upgrade minor | 2.5.0 | New features added (Minor increases, Patch resets). |
version upgrade major | 3.0.0 | Breaking changes (Major increases, Minor and Patch reset). |
$ artiframe version upgrade minor
✅ Project version updated: 2.4.1 -> 2.5.0