Skip to content

Commit

Permalink
Revert some version numbers from 0.2.0 to 0.1.9 in preparation for re…
Browse files Browse the repository at this point in the history
…lease
  • Loading branch information
sjperkins committed Sep 11, 2024
1 parent 6cf16e1 commit c4f8df1
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
46 changes: 45 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
readme = "README.rst"
Expand Down Expand Up @@ -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/<user or organization>/<project>/"

[tool.tbump.version]
current = "0.1.9"

# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\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"

0 comments on commit c4f8df1

Please sign in to comment.