File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Release instructions for ` django-altcha `
2+
3+ ### Automated release workflow
4+
5+ - Create a new ` release-x.x.x ` branch
6+ - Update the version in:
7+ - ` pyproject.toml `
8+ - ` django_altcha/__init__.py `
9+ - ` CHANGELOG.rst ` (set date)
10+ - Commit and push this branch
11+ - Create a PR and merge once approved
12+ - Tag and push that tag. This will trigger the ` pypi-release.yml ` GitHub workflow that
13+ takes care of building the dist release files and upload those to pypi:
14+ ```
15+ VERSION=vx.x.x # <- Set the new version here
16+ git tag -a $VERSION -m ""
17+ git push origin $VERSION
18+ ```
19+ - Review the GitHub release created by the workflow at
20+ https://github.com/aboutcode-org/django-altcha/releases
21+
22+ ### Manual build
23+
24+ ```
25+ cd django-altcha
26+ source .venv/bin/activate
27+ pip install build
28+ python -m build --sdist --wheel --outdir dist/ .
29+ ```
30+
31+ The distribution files will be available in the local ` dist/ ` directory.
Original file line number Diff line number Diff line change 1414from django .forms .widgets import HiddenInput
1515from django .utils .translation import gettext_lazy as _
1616
17- __version__ = "0.1.0 "
17+ __version__ = "0.1.1 "
1818VERSION = __version__
1919
2020# Get the ALTCHA_HMAC_KEY from the settings, or generate one if not present.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " django-altcha"
7- version = " 0.1.0 "
7+ version = " 0.1.1 "
88description = " Django field and widget for Altcha CAPTCHA."
99readme = " README.md"
1010license = " MIT"
You can’t perform that action at this time.
0 commit comments