Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 12da1d5

Browse files
authoredMay 20, 2024··
Merge branch 'master' into issue-1115
2 parents 5982338 + 7eafdfa commit 12da1d5

17 files changed

+466
-411
lines changed
 

‎.github/workflows/docspublish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,44 @@ on:
66
- master
77

88
jobs:
9+
update-cli-screenshots:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
15+
fetch-depth: 0
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.x"
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install -U pip poetry
23+
poetry --version
24+
poetry install
25+
- name: Update CLI screenshots
26+
run: |
27+
poetry run python scripts/gen_cli_help_screenshots.py
28+
- name: Commit and push updated CLI screenshots
29+
run: |
30+
git config --global user.name "github-actions[bot]"
31+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
32+
git add docs/images/cli_help
33+
git commit -m "docs(cli/screenshots): update CLI screenshots" -m "[skip ci]"
34+
git push
35+
936
publish-documentation:
1037
runs-on: ubuntu-latest
38+
needs: update-cli-screenshots
1139
steps:
1240
- uses: actions/checkout@v4
1341
with:
1442
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
1543
fetch-depth: 0
44+
- name: Pull latest changes
45+
run: |
46+
git pull origin master
1647
- name: Set up Python
1748
uses: actions/setup-python@v5
1849
with:

‎.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ repos:
2121
exclude: "tests/((commands|data)/|test_).+"
2222
- id: trailing-whitespace
2323
args: [ --markdown-linebreak-ext=md ]
24+
exclude: '\.svg$'
2425
- id: debug-statements
2526
- id: no-commit-to-branch
2627
- id: check-merge-conflict
@@ -46,7 +47,7 @@ repos:
4647
exclude: "poetry.lock"
4748

4849
- repo: https://github.com/commitizen-tools/commitizen
49-
rev: v3.25.1 # automatically updated by Commitizen
50+
rev: v3.26.0 # automatically updated by Commitizen
5051
hooks:
5152
- id: commitizen
5253
- id: commitizen-branch

‎CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v3.26.0 (2024-05-18)
2+
3+
### Feat
4+
5+
- **ci/cd**: automates the generation of CLI screenshots
6+
17
## v3.25.1 (2024-05-15)
28

39
### Refactor

‎commitizen/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.25.1"
1+
__version__ = "3.26.0"

‎docs/images/cli_help/cz___help.svg

Lines changed: 88 additions & 84 deletions
Loading

‎docs/images/cli_help/cz_bump___help.svg

Lines changed: 168 additions & 168 deletions
Loading

‎docs/images/cli_help/cz_changelog___help.svg

Lines changed: 90 additions & 90 deletions
Loading

‎docs/images/cli_help/cz_check___help.svg

Lines changed: 2 additions & 2 deletions
Loading

‎docs/images/cli_help/cz_commit___help.svg

Lines changed: 58 additions & 45 deletions
Loading

‎docs/images/cli_help/cz_example___help.svg

Lines changed: 2 additions & 2 deletions
Loading

‎docs/images/cli_help/cz_info___help.svg

Lines changed: 2 additions & 2 deletions
Loading

‎docs/images/cli_help/cz_init___help.svg

Lines changed: 2 additions & 2 deletions
Loading

‎docs/images/cli_help/cz_ls___help.svg

Lines changed: 2 additions & 2 deletions
Loading

‎docs/images/cli_help/cz_schema___help.svg

Lines changed: 2 additions & 2 deletions
Loading

‎docs/images/cli_help/cz_version___help.svg

Lines changed: 2 additions & 2 deletions
Loading

‎poetry.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.commitizen]
2-
version = "3.25.1"
2+
version = "3.26.0"
33
tag_format = "v$version"
44
version_files = [
55
"pyproject.toml:version",
@@ -9,7 +9,7 @@ version_files = [
99

1010
[tool.poetry]
1111
name = "commitizen"
12-
version = "3.25.1"
12+
version = "3.26.0"
1313
description = "Python commitizen client tool"
1414
authors = ["Santiago Fraire <santiwilly@gmail.com>"]
1515
license = "MIT"

0 commit comments

Comments
 (0)
Please sign in to comment.