Skip to content

Commit

Permalink
Merge pull request #80 from navigating-stories/bump-version
Browse files Browse the repository at this point in the history
Add bump-my-version as a dependency
  • Loading branch information
stefsmeets committed Aug 13, 2024
2 parents 74926d8 + 1a2860e commit b207f20
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions orangecontrib/storynavigation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.0.20'
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ changelog = "https://github.com/navigating-stories/orange-story-navigator/releas

[project.optional-dependencies]
develop = [
'bump-my-version',
'coverage',
'pytest',
'sphinx',
Expand Down Expand Up @@ -94,3 +95,26 @@ show_missing = true

[tool.coverage.run]
source = ['orangecontrib/storynavigation']

[tool.bumpversion]
current_version = "0.0.20"

[[tool.bumpversion.files]]
filename = "orangecontrib/storynavigation/__init__.py"
search = "__version__ = '{current_version}'"
replace = "__version__ = '{new_version}'"

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

[[tool.bumpversion.files]]
filename = "CITATION.cff"
search = 'version: "{current_version}"'
replace = 'version: "{new_version}"'

[[tool.bumpversion.files]]
filename = "doc/widgets/howtocite.md"
search = "(Version {current_version})"
replace = "(Version {new_version})"

0 comments on commit b207f20

Please sign in to comment.