Skip to content

Commit d7608c5

Browse files
committed
remove bumpversion workflow note, fix bumpversion replacement
1 parent be37eb3 commit d7608c5

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

CONTRIBUTING.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ Ready to contribute? Here's how to set up ``xncml`` for local development.
175175

176176
#. Once your Pull Request has been accepted and merged to the `main` branch, several automated workflows will be triggered:
177177

178-
- The ``bump-version.yml`` workflow will automatically bump the patch version when pull requests are pushed to the `main` branch on GitHub. **It is not recommended to manually bump the version in your branch when merging (non-release) pull requests (this will cause the version to be bumped twice).**
179178
- `ReadTheDocs` will automatically build the documentation and publish it to the `latest` branch of `xncml` documentation website.
180179
- If your branch is not a fork (i.e. you are a maintainer), your branch will be automatically deleted.
181180

@@ -217,7 +216,7 @@ To run specific code style checks:
217216
python -m flake8 src/xncml tests
218217
python -m numpydoc lint src/xncml/**.py
219218
220-
To get ``ruff``, ``flake8`` (with the ``flake8-rst-docstrings`` plugin), and `numpydoc` simply install them with ``pip`` into your environment.
219+
To get ``ruff``, ``flake8`` (with the ``flake8-rst-docstrings`` plugin), and ``numpydoc`` simply install them with ``pip`` into your environment.
221220

222221
Code of Conduct
223222
---------------

pyproject.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,27 +97,28 @@ serialize = [
9797
filename = "CHANGELOG.rst"
9898
include_bumps = ["release"]
9999
search = """\
100-
`Unreleased <https://github.com/bzah/xncml>`_ (latest)
101-
------------------------------------------------------
100+
`Unreleased <https://github.com/xarray-contrib/xncml>`_ (latest)
101+
----------------------------------------------------------------
102102
"""
103103
replace = """\
104-
`Unreleased <https://github.com/bzah/xncml>`_ (latest)
105-
------------------------------------------------------
104+
..
105+
`Unreleased <https://github.com/xarray-contrib/xncml>`_ (latest)
106+
----------------------------------------------------------------
106107
107-
Contributors:
108+
Contributors:
108109
109-
Changes
110-
^^^^^^^
111-
* No change.
110+
Changes
111+
^^^^^^^
112+
* No change.
112113
113-
Fixes
114-
^^^^^
115-
* No change.
114+
Fixes
115+
^^^^^
116+
* No change.
116117
117118
.. _changes_{new_version}:
118119
119-
`v{new_version} <https://github.com/bzah/xncml/tree/{new_version}>`_
120-
----------------------------------------------------
120+
`v{new_version} <https://github.com/xarray-contrib/xncml/tree/{new_version}>`_ ({now:%Y-%m-%d})
121+
---------------------------------------------------------------------------
121122
"""
122123

123124
[[tool.bumpversion.files]]

0 commit comments

Comments
 (0)