@@ -25,7 +25,20 @@ replace as necessary with your version or remove `rc..` suffix for the
25
25
final release.
26
26
27
27
28
- ## 1. Update in-source versions
28
+ ## 1. Update OpenSSL version if necessary
29
+
30
+ As of v0.11.4 OpenSSL is packaged with the python client. It's important
31
+ that the OpenSSL version is kept up to date with the latest release.
32
+
33
+ Update ` OPENSSL_VERSION ` in ` tools/build-openssl.sh ` with the latest 1.0.x version
34
+ as documented at [ openssl.org] ( https://www.openssl.org/source/ )
35
+
36
+ Commit this change with a commit-message mentioning the version bump:
37
+
38
+ $ git commit -m "OpenSSL version bump to 1.0.2o" tools/build-openssl.sh
39
+
40
+
41
+ ## 2. Update in-source versions
29
42
30
43
There are a number of source files that needs to be updated with the
31
44
new version number, the easiest way to find these is to search for the
@@ -43,15 +56,15 @@ Commit these changes with a commit-message containing the version:
43
56
$ git commit -m "Version v0.11.4rc1" confluent_kafka/src/confluent_kafka.c docs/conf.py setup.py
44
57
45
58
46
- ## 2 . Create a tag
59
+ ## 3 . Create a tag
47
60
48
61
The tag should be created right after the commit and be named the same as
49
62
the version.
50
63
51
64
$ git tag v0.11.4rc1
52
65
53
66
54
- ## 3 . Push tag and commits
67
+ ## 4 . Push tag and commits
55
68
56
69
Perform a dry-run push first to make sure the correct branch and only our tag
57
70
is pushed.
@@ -66,13 +79,13 @@ An alternative is to push branch and tags separately:
66
79
$ git push --dry-run --tags origin v0.11.4rc1
67
80
68
81
69
- ## 4 . Wait for CI builds
82
+ ## 5 . Wait for CI builds
70
83
71
84
Monitor travis-ci builds by looking atthe * tag* build at
72
85
[ travis-ci] https://travis-ci.org/confluentinc/confluent-kafka-python
73
86
74
87
75
- ## 5 . Download build artifacts from S3
88
+ ## 6 . Download build artifacts from S3
76
89
77
90
* Note* : You will need set up your AWS credentials in ` ~/.aws/credentials ` to
78
91
gain access to the S3 bucket.
@@ -87,7 +100,7 @@ The artifacts will be downloaded to `dl-<tag>/`.
87
100
88
101
89
102
90
- ## 6 . Verify packages
103
+ ## 7 . Verify packages
91
104
92
105
Create a new virtualenv:
93
106
@@ -106,7 +119,7 @@ and librdkafka versions:
106
119
py: ('0.11.4', 721920) c: ('0.11.4-RC1', 722121)
107
120
108
121
109
- ## 7 . Upload packages to PyPi
122
+ ## 8 . Upload packages to PyPi
110
123
111
124
To upload binary packages to test.pypi.org, use:
112
125
@@ -127,7 +140,7 @@ Upload source packages to the proper pypi.org (WARNING!):
127
140
$ python setup.py sdist upload
128
141
129
142
130
- ## 8 . Verify installation from PyPi
143
+ ## 9 . Verify installation from PyPi
131
144
132
145
In the same virtualenv as created above:
133
146
@@ -151,7 +164,7 @@ Verify that the package works and prints the expected version:
151
164
152
165
153
166
154
- ## 9 . Create github release
167
+ ## 10 . Create github release
155
168
156
169
If this was the final release, go to
157
170
[ github releases] ( https://github.com/confluentinc/confluent-kafka-python/releases )
0 commit comments