Skip to content

Commit

Permalink
🔖 bump version 2024.20 -> 2024.21 (#92)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
joshuadavidthomas and pre-commit-ci[bot] authored Jul 17, 2024
1 parent 7ece877 commit da30612
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 15 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [2024.21]

### Changed

- `mypy` configuration now excludes these directories: `docs`, `migrations`, `tests`, and `.venv`/`venv`.
Expand Down Expand Up @@ -207,7 +209,7 @@ Initial release! 🎉

- Josh Thomas <josh@joshthomas.dev> (maintainer)

[unreleased]: https://github.com/westerveltco/django-twc-package/compare/v2024.20...HEAD
[unreleased]: https://github.com/westerveltco/django-twc-package/compare/v2024.21...HEAD
[2024.1]: https://github.com/westerveltco/django-twc-package/releases/tag/v2024.1
[2024.2]: https://github.com/westerveltco/django-twc-package/releases/tag/v2024.2
[2024.3]: https://github.com/westerveltco/django-twc-package/releases/tag/v2024.3
Expand All @@ -228,3 +230,4 @@ Initial release! 🎉
[2024.18]: https://github.com/westerveltco/django-twc-package/releases/tag/v2024.18
[2024.19]: https://github.com/westerveltco/django-twc-package/releases/tag/v2024.19
[2024.20]: https://github.com/westerveltco/django-twc-package/releases/tag/v2024.20
[2024.21]: https://github.com/westerveltco/django-twc-package/releases/tag/v2024.21
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.20
2024.21
2 changes: 1 addition & 1 deletion copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _min_copier_version: "9.1.0"
_subdirectory: src/django_twc_package

template_version:
default: "2024.20"
default: "2024.21"
when: false

# ----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/calver_inc/.copier/package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: a037fca
_commit: v2024.20-9-g9733a8e
_src_path: .
author_email: johndoe@example.com
author_name: John Doe
Expand Down
2 changes: 0 additions & 2 deletions examples/calver_inc/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool:
# Django main requires Python 3.10+
return True



if django == DJ50 and version(python) < version(PY310):
# Django 5.0 requires Python 3.10+
return True
Expand Down
2 changes: 1 addition & 1 deletion examples/calver_month/.copier/package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: fab71ae
_commit: v2024.20-9-g283b96c
_src_path: .
author_email: johndoe@example.com
author_name: John Doe
Expand Down
2 changes: 0 additions & 2 deletions examples/calver_month/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool:
# Django main requires Python 3.10+
return True



if django == DJ50 and version(python) < version(PY310):
# Django 5.0 requires Python 3.10+
return True
Expand Down
2 changes: 1 addition & 1 deletion examples/default/.copier/package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 9d0878e
_commit: v2024.20-9-geea1741
_src_path: .
author_email: johndoe@example.com
author_name: John Doe
Expand Down
2 changes: 0 additions & 2 deletions examples/default/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool:
# Django main requires Python 3.10+
return True



if django == DJ50 and version(python) < version(PY310):
# Django 5.0 requires Python 3.10+
return True
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ requires-python = ">= 3.8"
[tool.bumpver]
commit = true
commit_message = ":bookmark: bump version {old_version} -> {new_version}"
current_version = "2024.20"
current_version = "2024.21"
push = false # set to false for CI
tag = false
version_pattern = "YYYY.INC1"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ def test_copier_yml_version():

version = copier_yml["template_version"]["default"]

assert version == "2024.20"
assert version == "2024.21"


def test_VERSION_version():
file = BASE_DIR / "VERSION"
with open(file, encoding="utf-8") as f:
version = f.read().strip()

assert version == "2024.20"
assert version == "2024.21"

0 comments on commit da30612

Please sign in to comment.