diff --git a/CHANGELOG.md b/CHANGELOG.md index 2696dd49272a964c8b081f645f6e27cc239170ca..abd7603198b9361a425e2411322f944a01b35792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ All notable changes to this job will be documented in this file. -## [Unreleased] - TBD +## [Unreleased] -[](https://lab.frogg.it/swepy/cicd-templates/release-by-changelog/-/pipelines?ref=trunk) +## [0.1.1] - 2024-05-06 -## [0.1.0] - 2024-05-05 +### Changed + +* Fix documentation links -[](https://lab.frogg.it/swepy/cicd-templates/release-by-changelog/-/pipelines?ref=release-by-changelog@0.1.0) +## [0.1.0] - 2024-05-05 * Initial version diff --git a/README.md b/README.md index b210b7c554130af40894a2d5658c429ae7ca6562..454c934ee365f41e741e3249efaa45f9c9867d7c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Release By Changelog template -[](https://lab.frogg.it/swepy/cicd-templates/release_by_changelog/-/pipelines) -[](https://lab.frogg.it/swepy/cicd-templates/release_by_changelog/-/blob/main/LICENSE) +[](https://lab.frogg.it/swepy/cicd-templates/release-by-changelog/-/blob/main/LICENSE) ## Objective diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000000000000000000000000000000000000..a1613f8f47388835b77dd37a3ccdf60ac4be2793 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,53 @@ +[tool.bumpversion] +allow-dirty = true +commit = false +config-file = "pyproject.toml" +current_version = "0.1.1" +parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" +replace = "{new_version}" +search = "{current_version}" +serialize = [ + "{major}.{minor}.{patch}", +] +tag = false + +[[tool.bumpversion.files]] +allow-dirty = true +filename = "CHANGELOG.md" +replace = """## [Unreleased] + +## [{new_version}] - {now:%Y-%m-%d} +""" +search = """## [Unreleased] +""" + +[tool.hatch.envs.default.scripts] +bump-major = "bump-my-version bump major" +bump-minor = "bump-my-version bump minor" +bump-patch = "bump-my-version bump patch" +install = [ + "pip-upgrade", + "pip install bump-my-version toml-sort", +] +pip-upgrade = "pip install --upgrade pip" +toml = "toml-sort --in-place pyproject.toml" + +[tool.tomlsort] +check = false +ignore_case = true +in_place = true +no_block_comments = true +no_comments = true +no_footer_comments = true +no_header_comments = true +no_inline_comments = true +no_sort_tables = true +sort_inline_arrays = false +sort_inline_tables = true +sort_table_keys = true +spaces_before_inline_comment = 2 +spaces_indent_inline_array = 4 +trailing_comma_inline_array = true + +[tool.tomlsort.overrides."project"] +table_keys = false