ci: add commitizen configs and ci scripts
This commit is contained in:
1 parent
f3d11a5f98
commit
e239be6c9a
3 files changed
+17
No files matched your search
@@ -0,0 +1,13 @@
|
|||||||
|
[tool.commitizen]
|
||||||
|
name = "cz_conventional_commits"
|
||||||
|
tag_format = "$version"
|
||||||
|
version_scheme = "semver"
|
||||||
|
version = "2.0.0"
|
||||||
|
update_changelog_on_bump = true
|
||||||
|
major_version_zero = false
|
||||||
|
pre_bump_hooks = [
|
||||||
|
"ci-scripts/prepare_java_version.sh"
|
||||||
|
]
|
||||||
|
post_bump_hooks = [
|
||||||
|
"ci-scripts/commit_java_version.sh"
|
||||||
|
]
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
../mvnw versions:commit
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
../mvnw versions:set -DnewVersion=$CZ_PRE_NEW_VERSION
|
||||||
Reference in new issue
Block a user