Skip to content

Commit 68d58b6

Browse files
committed
bump version + DEPLOY.md
1 parent 29f8699 commit 68d58b6

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

DEPLOY.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Steps to deploy
2+
## Preparation
3+
1. Run tests
4+
```bash
5+
py.test configcatclienttests
6+
```
7+
2. Increase the version of the library with the `version_update.sh` script.
8+
## Publish
9+
Use the **same version** for the git tag as in the `configcatclient/version.py`.
10+
- Via git tag
11+
1. Create a new version tag.
12+
```bash
13+
git tag v[MAJOR].[MINOR].[PATCH]
14+
```
15+
> Example: `git tag v2.5.5`
16+
2. Push the tag.
17+
```bash
18+
git push origin --tags
19+
```
20+
- Via Github release
21+
22+
Create a new [Github release](https://github.com/configcat/python-sdk/releases) with a new version tag and release notes.
23+
24+
## Python Package
25+
Make sure the new version is available on [PyPI](https://pypi.org/project/configcat-client/).

configcatclient/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CONFIGCATCLIENT_VERSION = "2.1.1"
1+
CONFIGCATCLIENT_VERSION = "2.2.0"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def parse_requirements(filename):
66
return [line for line in lines if line]
77

88

9-
configcatclient_version = "2.1.1"
9+
configcatclient_version = "2.2.0"
1010

1111
requirements = parse_requirements('requirements.txt')
1212

0 commit comments

Comments
 (0)