Release and versioning
Git Vibe keeps releases intentionally straightforward. There is no develop branch and no release branch ceremony. You merge work into main, then cut the release directly from main.
Basic release flow
git switch main
git pull --ff-only origin main
git vibe release 0.0.4 --pushThat creates:
- a release commit like
chore(release): v0.0.4 - an annotated tag
v0.0.4 - an optional push of
mainand the tag when you pass--push
Versioning modes
Git Vibe supports three release versioning modes:
noneto skip version file updates entirelyfileto update a plain-text version file likeVERSIONnpmto updatepackage.jsonand any existing npm lockfile
none
Use this when you want to update version files manually before release.
[release]
versioning = "none"file
Use this when your repository keeps the version in a plain text file.
[release]
versioning = "file"
file = "VERSION"npm
Use this when your version lives in package.json.
[release]
versioning = "npm"If you prefer to set it globally through Git config:
git config --global vibe.releaseVersioning npmGit Vibe will update package.json and any existing npm lockfile before it creates the release commit.
The convenience default
If your repository already has a top-level VERSION file, Git Vibe treats that as file versioning automatically. Otherwise it defaults to none until you configure another mode.
TIP
Git Vibe handles version files. It does not publish your package to npm, push to a registry, or deploy your application. The release command is about version state, Git history, and tags.