Skip to content

Commit 2141f4a

Browse files
authored
[NEW] Python Project Generator v2.5.10
Release v2.5.10
2 parents eb04ccd + 40ebdee commit 2141f4a

File tree

8 files changed

+91
-9
lines changed

8 files changed

+91
-9
lines changed

CHANGELOG.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ Changelog
33
=========
44

55

6+
2.5.10 (2025-05-10)
7+
===================
8+
9+
Changes
10+
^^^^^^^
11+
12+
documentation
13+
"""""""""""""
14+
- add badges in Docs Site Landing Page
15+
- fix link
16+
17+
chore
18+
"""""
19+
- sem ver bump to 2.5.10
20+
21+
622
2.5.9 (2025-05-10)
723
==================
824

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Build Status](https://img.shields.io/github/actions/workflow/status/boromir674/cookiecutter-python-package/test.yaml?link=https%3A%2F%2Fgithub.com%2Fboromir674%2Fcookiecutter-python-package%2Factions%2Fworkflows%2Ftest.yaml%3Fquery%3Dbranch%253Amaster)](https://github.com/boromir674/cookiecutter-python-package/actions/workflows/test.yaml?query=branch%3Amaster) [![Coverage](https://img.shields.io/codecov/c/github/boromir674/cookiecutter-python-package/master?logo=codecov)](https://app.codecov.io/gh/boromir674/cookiecutter-python-package) [![Docs](https://img.shields.io/readthedocs/python-package-generator/master?logo=readthedocs&logoColor=lightblue)](https://python-package-generator.readthedocs.io/en/master/) [![Maintainability](https://api.codeclimate.com/v1/badges/1d347d7dfaa134fd944e/maintainability)](https://codeclimate.com/github/boromir674/cookiecutter-python-package/maintainability)
44
[![Release Version](https://img.shields.io/pypi/v/cookiecutter_python)](https://pypi.org/project/cookiecutter-python/) [![Wheel](https://img.shields.io/pypi/wheel/cookiecutter-python?color=green&label=wheel)](https://pypi.org/project/cookiecutter-python) [![Tech Debt](https://img.shields.io/codeclimate/tech-debt/boromir674/cookiecutter-python-package)](https://codeclimate.com/github/boromir674/cookiecutter-python-package/) [![Codacy](https://app.codacy.com/project/badge/Grade/5be4a55ff1d34b98b491dc05e030f2d7)](https://app.codacy.com/gh/boromir674/cookiecutter-python-package/dashboard?utm_source=github.com&utm_medium=referral&utm_content=boromir674/cookiecutter-python-package&utm_campaign=Badge_Grade)
55
[![Supported Versions](https://img.shields.io/pypi/pyversions/cookiecutter-python?color=blue&label=python&logo=python&logoColor=%23ccccff)](https://pypi.org/project/cookiecutter-python)
6-
[![PyPI Stats](https://img.shields.io/pypi/dm/cookiecutter-python?logo=pypi&logoColor=%23849ED9&color=%23849ED9)](https://pypistats.org/packages/cookiecutter-python) [![Commits Since Tag](https://img.shields.io/github/commits-since/boromir674/cookiecutter-python-package/v2.5.9/master?color=blue&logo=github)](https://github.com/boromir674/cookiecutter-python-package/compare/v2.5.9..master) [![Commits Since Release](https://img.shields.io/github/commits-since/boromir674/cookiecutter-python-package/latest?color=blue&logo=semver&sort=semver)](https://github.com/boromir674/cookiecutter-python-package/releases)
6+
[![PyPI Stats](https://img.shields.io/pypi/dm/cookiecutter-python?logo=pypi&logoColor=%23849ED9&color=%23849ED9)](https://pypistats.org/packages/cookiecutter-python) [![Commits Since Tag](https://img.shields.io/github/commits-since/boromir674/cookiecutter-python-package/v2.5.10/master?color=blue&logo=github)](https://github.com/boromir674/cookiecutter-python-package/compare/v2.5.10..master) [![Commits Since Release](https://img.shields.io/github/commits-since/boromir674/cookiecutter-python-package/latest?color=blue&logo=semver&sort=semver)](https://github.com/boromir674/cookiecutter-python-package/releases)
77
[![License](https://img.shields.io/github/license/boromir674/cookiecutter-python-package)](https://github.com/boromir674/cookiecutter-python-package/blob/master/LICENSE) [![OpenSSF](https://bestpractices.coreinfrastructure.org/projects/5988/badge)](https://bestpractices.coreinfrastructure.org/en/projects/5988) [![Ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://docs.astral.sh/ruff/) [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
88

99

docs/index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Welcome to `Cookiecutter Python Package` Documentation!
22

3-
**Cookiecutter Python Package**, is an open source project [github.com/boromir674/cookiecutter-python-package](https://github.com/boromir674/cookiecutter-python-package), that **Generates** `Open Source Python Projects`!
3+
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/boromir674/cookiecutter-python-package/test.yaml?style=for-the-badge&logo=github%20actions&logoColor=%2365CDCA&label=CI%2FCD&link=https%3A%2F%2Fgithub.com%2Fboromir674%2Fcookiecutter-python-package%2Factions%2Fworkflows%2Ftest.yaml)](https://github.com/boromir674/cookiecutter-python-package/actions/workflows/test.yaml) [![Read the Docs](https://img.shields.io/readthedocs/python-package-generator?style=for-the-badge&logo=read%20the%20docs&logoColor=%2365CDCA&label=Docs)](https://python-package-generator.readthedocs.io/en/master/) [![Release Version](https://img.shields.io/pypi/v/cookiecutter_python?style=for-the-badge&logo=pypi&logoColor=%2365CDCA)](https://pypi.org/project/cookiecutter-python/) [![Coverage](https://img.shields.io/codecov/c/github/boromir674/cookiecutter-python-package/master?style=for-the-badge&logo=codecov&logoColor=%2365CDCA)](https://app.codecov.io/gh/boromir674/cookiecutter-python-package)
4+
[![PyPI Stats](https://img.shields.io/pypi/dm/cookiecutter-python?logoColor=%2365CDCA&logo=pypi&color=%23849ED9)](https://pypistats.org/packages/cookiecutter-python) [![Maintainability](https://api.codeclimate.com/v1/badges/1d347d7dfaa134fd944e/maintainability)](https://codeclimate.com/github/boromir674/cookiecutter-python-package/maintainability) [![Tech Debt](https://img.shields.io/codeclimate/tech-debt/boromir674/cookiecutter-python-package)](https://codeclimate.com/github/boromir674/cookiecutter-python-package/) [![OpenSSF](https://bestpractices.coreinfrastructure.org/projects/5988/badge)](https://bestpractices.coreinfrastructure.org/en/projects/5988)
5+
6+
**Cookiecutter Python Package**, is an open source project, that **Generates** `Open Source Python Projects`!
47

58
## A few words
69

@@ -156,7 +159,7 @@ and capabilities.
156159

157160
[:octicons-arrow-right-24: :material-language-python: Architecture ](./topics/arch.md)
158161

159-
[:octicons-arrow-right-24: :material-generator-portable: Generator Process ](./topics/cli_logic.md)
162+
[:octicons-arrow-right-24: :material-generator-portable: Generator Process ](./topics/generator_process.md)
160163

161164

162165
- :fontawesome-solid-book-open:{ .lg .middle } __Development Topics__

mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ plugins:
6060
nav_file: SUMMARY.md
6161
- section-index
6262

63+
# Enable displaying at the bottom of pages the last date of modification!
64+
# uv add --optional docs 'mkdocs-git-revision-date-localized-plugin'
65+
- git-revision-date-localized
66+
6367
markdown_extensions:
6468
- mkdocs-click
6569
- pymdownx.highlight

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build-backend = "poetry.core.masonry.api"
1414
name = "cookiecutter_python"
1515
### ... ###
1616

17-
version = "2.5.9"
17+
version = "2.5.10"
1818
description = "1-click Generator of Python Project, from Template with streamlined \"DevOps\" using a powerful CI/CD Pipeline."
1919
readme = "README.md"
2020
license = "AGPL-3.0-only"
@@ -74,7 +74,7 @@ maintainers = [
7474
license = {text = "AGPL-3.0-only"}
7575

7676
name = "cookiecutter_python"
77-
version = "2.5.9"
77+
version = "2.5.10"
7878
description = "1-click Generator of Python Project, from Template with streamlined \"DevOps\" using a powerful CI/CD Pipeline."
7979
readme = "README.md"
8080
# keywords = []
@@ -121,6 +121,7 @@ docs = [
121121
"mkdocs-click==0.8.1",
122122
# latest release (9 May 2025) support python >= 3.7
123123
"mkdocs-gen-files==0.5.0",
124+
"mkdocs-git-revision-date-localized-plugin>=1.4.5, <2.0.0",
124125
"mkdocs-literate-nav==0.6.1",
125126
"mkdocs-macros-plugin>=1.3.7, <2.0.0",
126127
"mkdocs-material>=9.6.12, <10.0.0",

scripts/terminal-based-release.sh

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,50 @@ read -ep "Press any key to make a RELEASE CANDIDATE '${RELEASE_BR}' branch from
163163
RC_TAG="v${RELEASE_BR}-rc"
164164

165165
git tag -f "$RC_TAG"
166-
git tag push origin -f "$RC_TAG"
166+
git push origin -f "$RC_TAG"
167167

168168
echo
169169
echo "Release Candidate Pipeline Triggered !"
170170

171-
gh run watch
171+
# press any key to continue
172+
read -ep "Please watch the CI/CD Pipeline to succeed (press any key to continue to 'live watch') !" -n1 -s
173+
174+
gh run watch
175+
176+
echo "========================="
177+
echo "Assuming CI/CD Pipeline Succeeded !"
178+
179+
echo "[NEXT] Please run the below to complete merge to 'main'"
180+
echo
181+
echo 'gh pr merge --subject "[NEW] Python Project Generator v${NEW_VERSION}" --body "Release v${NEW_VERSION}" --merge'
182+
183+
echo "[IF] prohibitted, you can use --admin flag:"
184+
echo
185+
echo 'gh pr merge --admin --subject "[NEW] Python Project Generator v${NEW_VERSION}" --body "Release v${NEW_VERSION}" --merge'
186+
187+
echo
188+
# press any key to continue
189+
read -ep "After Merge to '${DEFAULT_BRANCH}' branch is made (ie via CLI or github.com), press any key to proceed with updating local '${DEFAULT_BRANCH}' branch" -n1 -s
190+
191+
echo "========================="
192+
193+
git checkout ${DEFAULT_BRANCH}
194+
git pull
195+
196+
git tag -f "v${NEW_VERSION}"
197+
git push origin -f "v${NEW_VERSION}"
198+
echo
199+
echo "Release v${NEW_VERSION} is now tagged !"
200+
echo
201+
202+
# press any key to continue
203+
read -ep "Please watch the CI/CD Pipeline to succeed (press any key to continue to 'live watch') !" -n1 -s
204+
205+
gh run watch
206+
207+
# after success pypi and docker artifacts pushed !! :-)
208+
echo
209+
echo "========================="
210+
echo "Release v${NEW_VERSION} is now tagged and pushed to PyPi and Docker Hub !"
211+
echo
212+
echo " [FINISH] :-)"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '2.5.9'
1+
__version__ = '2.5.10'
22

33
from . import _logging # noqa

uv.lock

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

0 commit comments

Comments
 (0)