Skip to content

Commit b5c5a46

Browse files
committed
bump: version 0.2.0 → 0.3.0
1 parent 81f6ccc commit b5c5a46

File tree

5 files changed

+63
-17
lines changed

5 files changed

+63
-17
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,15 @@ repos:
3636
# Similar to: https://stackoverflow.com/a/73603491/5755604
3737
additional_dependencies: ['types-PyYAML']
3838
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: v0.2.1
39+
rev: v0.2.2
4040
hooks:
4141
- id: ruff
4242
args:
4343
- --fix
4444
- id: ruff-format
45-
- repo: local
45+
- repo: https://github.com/commitizen-tools/commitizen
46+
rev: v3.15.0
4647
hooks:
47-
- id: bump-my-version
48-
name: bumpy
49-
entry: bump-version.sh
50-
language: script
51-
pass_filenames: false
52-
exclude: (.pre-commit-config.yaml)
48+
- id: commitizen
49+
stages: [commit-msg]
5350
exclude: "^(references|reports)"

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## 0.3.0 (2024-02-18)
2+
3+
### Feat
4+
5+
- bump version file in pre-commit hook
6+
7+
### Refactor
8+
9+
- move version to version file 📑 (#96)
10+
11+
## 0.0.8 (2024-02-04)
12+
13+
## 0.0.7 (2024-02-04)
14+
15+
### Feat
16+
17+
- improve links in examples🔗 (#90)
18+
19+
## 0.0.6 (2024-01-15)
20+
21+
### Feat
22+
23+
- **ci**: add codespeedHQ performance analysis🐇 (#81)
24+
- **ci**: skip python pipelines for changes in docs (#80)
25+
- **doc**: add analytics 🔢 (#79)
26+
- **doc**: add light/dark mode to documentation🧾 (#78)
27+
28+
### Refactor
29+
30+
- **docs**: restructure readme + index (#82)
31+
- use generic checks for missing columns🙂 (#71)
32+
33+
## 0.0.5 (2024-01-06)
34+
35+
## 0.0.4 (2024-01-06)
36+
37+
## 0.0.3 (2024-01-06)
38+
39+
## 0.0.2 (2023-12-28)
40+
41+
## 0.0.1 (2023-12-28)

bump-version.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

pixi.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ platforms = ["win-64", "linux-64"]
99

1010
[tasks]
1111
# install packages not on conda-forge
12-
postinstall = "pip install --upgrade --no-build-isolation --no-deps --disable-pip-version-check -e .; pip install pytest-codspeed mkdocs-bibtex"
12+
postinstall = "pip install --upgrade --no-build-isolation --no-deps --disable-pip-version-check -e .; pip install pytest-codspeed mkdocs-bibtex commitizen"
1313
doc = "mkdocs serve"
1414
test = "pytest -v tests/ --cov=src --cov-report=xml"
1515
lint = "pre-commit run --all"
@@ -32,5 +32,3 @@ pytest = "*"
3232
pytest-cov = "*"
3333
# linting
3434
pre-commit = "*"
35-
# versioning
36-
bump-my-version = "*"

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,22 @@ exclude_also = [
7373
]
7474
show_missing = true
7575

76+
[tool.commitizen]
77+
name = "cz_conventional_commits"
78+
version = "0.3.0"
79+
tag_format = "$version"
80+
version_files = [
81+
"CITATION.cff:version = {",
82+
"docs/index.md:version",
83+
"pyproject.toml:version",
84+
"README.md:version = {",
85+
"version",
86+
]
87+
bump_message = "bump: version $current_version → $new_version"
88+
update_changelog_on_bump = true
89+
annotated_tag = true
90+
91+
7692
[tool.ruff]
7793

7894

0 commit comments

Comments
 (0)