File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 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/).
Original file line number Diff line number Diff line change 1- CONFIGCATCLIENT_VERSION = "2.1.1 "
1+ CONFIGCATCLIENT_VERSION = "2.2.0 "
Original file line number Diff line number Diff 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
1111requirements = parse_requirements ('requirements.txt' )
1212
You can’t perform that action at this time.
0 commit comments