Skip to content

Commit

Permalink
chore: Manage target for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Mar 23, 2024
1 parent 84d40cd commit 625a186
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .age.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
current_version = "0.0.0"

[[files]]
path = "pyproject.toml"
search = "version = \"{{current_version}}\""
replace = "version = \"{{new_version}}\""

[[files]]
path = "src/atsphinx/mini18n.py"
search = "__version__ = \"{{current_version}}\""
replace = "__version__ = \"{{new_version}}\""

[[files]]
path = "src/atsphinx/mini18n.py"
search = "__version__ = \"{{current_version}}\""
replace = "__version__ = \"{{new_version}}\""

[[files]]
path = ".github/release-body.md"
search = "- Changelog is https://github.com/atsphinx/mini18n/blob/v{{ current_version }}/CHANGES.rst"
replace = "- Changelog is https://github.com/atsphinx/mini18n/blob/v{{ new_version }}/CHANGES.rst"
2 changes: 1 addition & 1 deletion .github/release-body.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Release atsphinx-mini18n v0.0.0
Release update

- Changelog is https://github.com/atsphinx/mini18n/blob/v0.0.0/CHANGES.rst

0 comments on commit 625a186

Please sign in to comment.