diff --git a/doc/source/conf.py b/doc/source/conf.py index 37df17a..f31542d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -11,7 +11,7 @@ project = "xarray-ms" copyright = "2024, Simon Perkins" author = "Simon Perkins" -release = "0.2.0" +release = "0.1.9" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/pyproject.toml b/pyproject.toml index d23a90f..9d2ccc7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "xarray-ms" -version = "0.2.0" +version = "0.1.9" description = "xarray MSv4 views over MSv2 Measurement Sets" authors = ["Simon Perkins "] readme = "README.rst" @@ -49,3 +49,47 @@ extend-select = ["I"] [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" +[tool.tbump] +# Uncomment this if your project is hosted on GitHub: +# github_url = "https://github.com///" + +[tool.tbump.version] +current = "0.1.9" + +# Example of a semver regexp. +# Make sure this matches current_version before +# using tbump +regex = ''' + (?P\d+) + \. + (?P\d+) + \. + (?P\d+) + ''' + +[tool.tbump.git] +message_template = "Bump to {new_version}" +tag_template = "{new_version}" + +# For each file to patch, add a [[tool.tbump.file]] config +# section containing the path of the file, relative to the +# tbump.toml location. +[[tool.tbump.file]] +src = "pyproject.toml" + +[[tool.tbump.file]] +src = "doc/source/conf.py" + +# You can specify a list of commands to +# run after the files have been patched +# and before the git commit is made + +# [[tool.tbump.before_commit]] +# name = "check changelog" +# cmd = "grep -q {new_version} Changelog.rst" + +# Or run some commands after the git tag and the branch +# have been pushed: +# [[tool.tbump.after_push]] +# name = "publish" +# cmd = "./publish.sh"