chore: add semantic version to pipeline
Some checks failed
Publish image / bump-crate (push) Failing after 38s
Publish image / create-docker-images (push) Has been skipped

This commit is contained in:
Alexander Navarro 2025-03-24 16:23:40 -03:00
parent e0b259cc6f
commit 0f62d4e2cb
3 changed files with 42 additions and 19 deletions

View file

@ -7,8 +7,13 @@ generate_mono_repository_package_tags = true
branch_whitelist = []
skip_ci = "[skip ci]"
skip_untracked = false
pre_bump_hooks = []
post_bump_hooks = []
pre_bump_hooks = [
"sed -E -i 's/(\"version\":) \"[0-9.]{5}\"/\\1 \"{{version}}\"/gi' package.json",
"cargo build --release",
"echo 'bumping from {{latest|0.0.0}} to {{version|0.0.1}}'",
"cargo bump {{version|0.0.1}}",
]
post_bump_hooks = ["git push", "git push origin {{version_tag}}"]
pre_package_bump_hooks = []
post_package_bump_hooks = []