Skip to content

Commit

Permalink
Merge pull request #12 from crim-ca/bump-version-ignore-glob
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault authored May 2, 2024
2 parents b39ed91 + b39f21d commit 082aa7c
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 5 deletions.
34 changes: 30 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 34 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pytest-click = "^1.1.0"
pytest-pikachu = "^1.0.0"
coverage = "^7.3.0"
ruff = "^0.2.2"
bump-my-version = "^0.20.2"
bump-my-version = "^0.21"

[tool.bumpversion]
current_version = "1.1.0"
Expand All @@ -104,16 +104,49 @@ message = "Bump version: {current_version} → {new_version}"

[[tool.bumpversion.files]]
glob = "**/*.json"
glob_exclude = [
".git/**",
"**/__pycache__/**",
".mypy_cache/**",
".tox/**",
".venv/**",
"_build/**",
"build/**",
"dist/**",
"node_modules/**",
]
search = "https://crim-ca.github.io/mlm-extension/v{current_version}/schema.json"
replace = "https://crim-ca.github.io/mlm-extension/v{new_version}/schema.json"

[[tool.bumpversion.files]]
glob = "**/*.md"
glob_exclude = [
".git/**",
"**/__pycache__/**",
".mypy_cache/**",
".tox/**",
".venv/**",
"_build/**",
"build/**",
"dist/**",
"node_modules/**",
]
search = "https://crim-ca.github.io/mlm-extension/v{current_version}/schema.json"
replace = "https://crim-ca.github.io/mlm-extension/v{new_version}/schema.json"

[[tool.bumpversion.files]]
glob = "**/*.py"
glob_exclude = [
".git/**",
"**/__pycache__/**",
".mypy_cache/**",
".tox/**",
".venv/**",
"_build/**",
"build/**",
"dist/**",
"node_modules/**",
]
search = "https://crim-ca.github.io/mlm-extension/v{current_version}/schema.json"
replace = "https://crim-ca.github.io/mlm-extension/v{new_version}/schema.json"

Expand Down

0 comments on commit 082aa7c

Please sign in to comment.