feat: Add commitizen and version file

This commit is contained in:
overflowerror 2024-07-29 22:39:35 +02:00
parent 2566486183
commit 6f46f9851e
3 changed files with 12 additions and 1 deletions

8
.cz.toml Normal file
View file

@ -0,0 +1,8 @@
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "semver"
version = "0.0.1"
version_files = ["version.php:VERSION"]
update_changelog_on_bump = true
major_version_zero = true

2
.gitignore vendored
View file

@ -1,2 +1,2 @@
.idea
credentials.php
config.php

3
version.php Normal file
View file

@ -0,0 +1,3 @@
<?php
const VERSION = "0.0.1";