Skip to content

Commit 7351363

Browse files
committed
Bump version for release 0.1.1
Signed-off-by: tdruez <tdruez@nexb.com>
1 parent 0b3b5d6 commit 7351363

3 files changed

Lines changed: 33 additions & 2 deletions

File tree

RELEASE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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.

django_altcha/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from django.forms.widgets import HiddenInput
1515
from django.utils.translation import gettext_lazy as _
1616

17-
__version__ = "0.1.0"
17+
__version__ = "0.1.1"
1818
VERSION = __version__
1919

2020
# Get the ALTCHA_HMAC_KEY from the settings, or generate one if not present.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "django-altcha"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "Django field and widget for Altcha CAPTCHA."
99
readme = "README.md"
1010
license = "MIT"

0 commit comments

Comments
 (0)