Skip to content

Commit 7c532d0

Browse files
committed
build: copier-auto-update
1 parent 36ec9a6 commit 7c532d0

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-20
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Answer file maintained by Copier for: https://github.com/KyleKing/mdformat-plugin-template
33
# DO NOT MODIFY THIS FILE. Edit by re-running copier and changing responses to the questions
44
# Check into version control.
5-
_commit: 2.2.0
5+
_commit: 2.2.1
66
_src_path: gh:KyleKing/mdformat-plugin-template
77
author_email: [email protected]
88
author_name: Kyle King

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Install Package
34-
run: uv pip install --system ".[test]"
34+
run: uv pip install ".[test]"
3535
- name: Run pytest
3636
run: pytest --cov
3737

@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
install-only: true
5050
- name: Install Package
51-
run: uv pip install --system ".[test]"
51+
run: uv pip install ".[test]"
5252
- name: run prek with plugin
5353
run: prek run --config .pre-commit-test.yaml --all-files --verbose --show-diff-on-failure
5454

CONTRIBUTING.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ Before publishing for the first time, you need to configure Trusted Publishing o
102102

103103
### Publishing a Release
104104

105-
#### Option 1: Using commitizen (Recommended)
106-
107-
Use commitizen to automatically bump versions and create a commit with tag:
105+
Use `commitizen` to automatically bump versions (in `pyproject.toml` and `mdformat_mkdocs/__init__.py`) and create a commit with tag:
108106

109107
```sh
110108
# Dry run to preview the version bump
@@ -120,18 +118,4 @@ tox -e py312-cz -- --increment PATCH # or MINOR or MAJOR
120118
git push origin main --tags
121119
```
122120

123-
Commitizen will automatically update versions in `pyproject.toml` and `mdformat_mkdocs/__init__.py`.
124-
125-
#### Option 2: Manual Version Bump
126-
127-
Update the versions in both `pyproject.toml` under `[project].version` and `mdformat_mkdocs/__init__.py` for `__version__`. Commit the change and push a tag in the form `vX.Y.Z` (for example, `v1.3.2` when the project version is `1.3.2`):
128-
129-
```sh
130-
TAG=1.3.2
131-
git add pyproject.toml mdformat_mkdocs/__init__.py
132-
git commit -m "release: v$TAG"
133-
git tag v$TAG
134-
git push origin main --tags
135-
```
136-
137121
The GitHub Action will automatically build and publish to PyPI using Trusted Publishers (no API tokens needed!).

0 commit comments

Comments
 (0)