Skip to content

Commit

Permalink
MAINT: Bump version to v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Feb 11, 2024
1 parent 8b0b269 commit 245fffc
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,4 @@ cython_debug/
/docs/source/CHANGELOG.md
/docs/html/
/asv_runner/_version.py
/.pdm-build/
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang

<!-- towncrier release notes start -->

## [0.2.0](https://github.com/airspeed-velocity/asv_runner/tree/0.2.0) - 11-02-2024


### Other Changes and Additions

- `asv_runner` now uses `towncrier` to manage the changelog, also adds the
changeglog to the generated documentation.
([#38](https://github.com/airspeed-velocity/asv_runner/issues/38))
- The lowest supported version of `python` for building the `asv_runner`
documentation is now `3.8`, since `3.7` has been EOL for [many months
now](https://endoflife.date/python).
([#39](https://github.com/airspeed-velocity/asv_runner/issues/39))


## [0.1.0](https://github.com/airspeed-velocity/asv_runner/tree/0.1.0) - 11-09-2023


Expand Down
1 change: 0 additions & 1 deletion changelog.d/38.misc.md

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/39.misc.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = "asv_runner"
copyright = "2023, asv Developers"
copyright = "2023--present, asv Developers"
author = "asv Developers"
release = "0.1.0"
release = "0.2.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ mkdoc = {composite = ["sphinx-build -b html docs/source docs/build/html"]}

[tool.pdm.version]
source = "scm"
write_to = "asv_runner/_version.py"
write_to = "asv_runner/__init__.py"
write_template = "__version__ = '{}'"

[project.urls]
Expand Down
6 changes: 4 additions & 2 deletions tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ tag_template = "v{new_version}"
# section containing the path of the file, relative to the
# tbump.toml location.
[[file]]
src = "pyproject.toml"
[[file]]
src = "docs/source/conf.py"

# You can specify a list of commands to
Expand All @@ -35,6 +33,10 @@ src = "docs/source/conf.py"
name = "pre-commit"
cmd = "pipx run pre-commit run -a"

[[before_commit]]
name = "generate-release-notes"
cmd = 'towncrier build --version {new_version} --date "$(date -u +%d-%m-%Y)"'

# [[before_commit]]
# name = "check changelog"
# cmd = "grep -q {new_version} Changelog.rst"
Expand Down

0 comments on commit 245fffc

Please sign in to comment.