...
- Go to JIRA, move all unresolved jiras with "Fix versions" of 0.9.0.0 to future releases.
- Select roadmap from left panel, click on "release notes" next to the release version and prepare/format the html release notes. The html version shows up at the bottom of the page. Save the release notes as RELEAE_NOTES.html
Upload the release notes to home.apache.org
Now prepare the source and release (after getting your keys local to the boxmaking sure you have gpg keys to sign the artifacts):
make sure your java is on jdk 1.7 (On mac: export JAVA_HOME=$(/usr/libexec/java_home -v 1.7))
git archive --format tar.gz --prefix kafka-0.10
.0.0-src/ -o ../kafka-0.10.0.0-src.tgz 0.10.0.0-rc3sign the artifact
( gpg --armor --output kafka-0.10.0.0-src.tgz.asc --detach-sig kafka-0.10.0.0-src.tgzgpg --print-md MD5 kafka-0.10.0.0-src.tgz > kafka-0.10.0.0-src.tgz.md5
gpg --print-md SHA1 kafka-0.10.0.0-src.tgz > kafka-0.10.0.0-src.tgz.sha1
gpg --print-md SHA512 kafka-0.10.0.0-src.tgz > kafka-0.10.0.0-src.tgz.sha2 )
- upload the artifacts to where you are staging them check they are there
Validate the signatures:
- download the files you signed and uploaded
- gpg --verify kafka-0.10.0.0-src.tgz.asc kafka-0.10.0.0-src.tgz
You should see valid signatures and no errors, continue.
- make sure your java is on jdk 1.7 (On mac: export JAVA_HOME=$(/usr/libexec/java_home -v 1.7))
Make sure you have Gradle installed
- cd kafka-0.9
.0.0-src/ -o ../kafka-0.10.0.0-src.tgz 0.10.0.0-rc3
- Make sure you have Gradle installed
- gradle
- ./gradlew clean releaseTarGzAll
- cd cp core/build/distributions/* ../
- sign the artifacts:
for file in *.tgz; do gpg --armor --output $file.asc --detach-sig $file; done
for file in *.tgz; do gpg --verify $file.asc $file; done
for file in *.tgz; do gpg --print-md md5 $file > $file.md5; done
for file in *.tgz; do gpg --print-md sha1 $file > $file.sha1; done
for file in *.tgz; do gpg --print-md sha512 $file > $file.sha2; done
Prepare java and scala docs.
- ./gradlew clean scaladoc
- copy the javadoc and scaladoc directories over
...