Skip to content

Commit

Permalink
Ensure version numbers are changed in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Feb 25, 2021
1 parent fc0fd4c commit cfea3c9
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions repo_helper/files/ci_cd.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ def ensure_bumpversion(repo_path: pathlib.Path, templates: jinja2.Environment) -
]

required_sections = [
"bumpversion:file:pyproject.toml",
"bumpversion:file:repo_helper.yml",
"bumpversion:file:__pkginfo__.py",
"bumpversion:file:README.rst",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ current_version = 1.2.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]

[bumpversion:file:repo_helper.yml]

[bumpversion:file:__pkginfo__.py]
Expand Down

0 comments on commit cfea3c9

Please sign in to comment.