Skip to content

Commit

Permalink
Adjust tbump.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalff committed Aug 10, 2024
1 parent 949bd4a commit 6a517b7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,21 @@ search = ".*{current_version}.*"
[[file]]
src = "doc/sphinx_*.rst"
search = ".*{current_version}.*"

[[file]]
src = "src/c4/yml/version.hpp"
search = "#define RYML_VERSION ['\"]{current_version}['\"]"
[[file]]
src = "src/c4/yml/version.hpp"
version_template = "{major}"
search = "#define RYML_VERSION_MAJOR {current_version}"
[[file]]
src = "src/c4/yml/version.hpp"
version_template = "{minor}"
search = "#define RYML_VERSION_MINOR {current_version}"
[[file]]
src = "src/c4/yml/version.hpp"
version_template = "{patch}"
search = "#define RYML_VERSION_PATCH {current_version}"

# You can specify a list of commands to
# run after the files have been patched
Expand Down

0 comments on commit 6a517b7

Please sign in to comment.