@@ -28,6 +28,7 @@ And before you proceed, do the following steps:
2828 version=$VERSION
2929 * change the samza_executable variable in samza-test/src/main/python/configs/tests.json to $VERSION w/o the suffix '-SNAPSHOT'.
3030 * change the samza-test versions in samza-test/src/main/config/join/README to $VERSION w/o the suffix '-SNAPSHOT'.
31+ * change the executable version in samza-test/src/main/python/stream_processor.py to $VERSION w/o the suffix '-SNAPSHOT'.
3132 * push the changes to the $VERSION branch
3233
3334Validate Samza using all our supported build matrix.
@@ -49,17 +50,34 @@ Alternatively, you can make a fresh clone of the repository to a separate direct
4950 git clone http://git-wip-us.apache.org/repos/asf/samza.git samza-release
5051 cd samza-release
5152
52- Then build the tarball :
53+ Then build the source and samza-tools tarballs :
5354
54- ./gradlew clean sourceRelease
55+ ./gradlew clean sourceRelease && ./gradlew releaseToolsTarGz
5556
56- Then sign it :
57+ Then sign them :
5758
58- gpg --sign --armor --detach-sig build/distribution/source/apache-samza-*.tgz
59+ gpg --sign --armor --detach-sig ./build/distribution/source/apache-samza-*.tgz
60+ gpg --sign --armor --detach-sig ./samza-tools/build/distributions/samza-tools-*.tgz
61+
62+ Create MD5 signatures:
5963
60- Create SHA1 signature:
64+ gpg --print-md MD5 ./build/distribution/source/apache-samza-*.tgz > ./build/distribution/source/apache-samza-*.tgz.md5
65+ gpg --print-md MD5 ./samza-tools/build/distributions/samza-tools-*.tgz > ./samza-tools/build/distributions/samza-tools-*.tgz.md5
66+
67+ Create SHA1 signatures:
6168
6269 gpg --print-md SHA1 ./build/distribution/source/apache-samza-*.tgz > ./build/distribution/source/apache-samza-*.tgz.sha1
70+ gpg --print-md SHA1 ./samza-tools/build/distributions/samza-tools-*.tgz > ./samza-tools/build/distributions/samza-tools-*.tgz.sha1
71+
72+ Upload the build artifacts to your Apache home directory:
73+
74+ sftp <apache-username>@home.apache.org
75+ cd public_html
76+ mkdir samza-$VERSION-rc0
77+ cd samza-$VERSION-rc0
78+ put ./build/distribution/source/apache-samza-$VERSION-src.* .
79+ put ./samza-tools/build/distributions/samza-tools-$VERSION.* .
80+ bye
6381
6482Make a signed git tag for the release candidate:
6583
@@ -69,23 +87,7 @@ Push the release tag to remote repository:
6987
7088 git push origin release-$VERSION-rc0
7189
72- Build the tarball for samza-tool:
73-
74- ./gradlew releaseToolsTarGz
75-
76- Then sign it:
77-
78- gpg --sign --armor --detach-sig ./samza-tools/build/distributions/samza-tools-*.tgz
79-
80- Create MD5 signature:
81-
82- gpg --print-md MD5 ./samza-tools/build/distributions/samza-tools-*.tgz > ./samza-tools/build/distributions/samza-tools-*.tgz.md5
83-
84- Create SHA1 signature:
85-
86- gpg --print-md SHA1 ./build/distribution/source/apache-samza-*.tgz > ./build/distribution/source/apache-samza-*.tgz.sha1
87-
88- Edit ` $HOME/.gradle/gradle.properties ` and add your GPG key information:
90+ Edit ` $HOME/.gradle/gradle.properties ` and add your GPG key information (without the comments):
8991
9092 signing.keyId=01234567 # Your GPG key ID, as 8 hex digits
9193 signing.secretKeyRingFile=/path/to/secring.gpg # Normally in $HOME/.gnupg/secring.gpg
@@ -112,6 +114,7 @@ repository just created, and close it. This may take a minute or so. When it
112114finishes, the UI shows a staging repository URL. This can be used in a project
113115that depends on Samza, to test the release candidate.
114116
117+
115118If the VOTE has successfully passed on the release candidate, you can log in to the
116119[ repository web interface] ( https://repository.apache.org ) (same as above) and "release"
117120the org.apache.samza repository listed under "Staging Repositories".
0 commit comments