THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
git archive --format tar.gz --prefix kafka-0.10.0.0-src/ -o ../kafka-0.10.0.0-rc0/kafka-0.10.0.0-src.tgz 0.10.0.0-rc0
Prepare the binary artifacts and aggregated javadoc
- 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
- gradle
- ./gradlew clean releaseTarGzAll aggregatedJavadoc
- cp core/build/distributions/* ../kafka-0.10.0.0-rc0
- cp -R build/docs/javadoc ../kafka-0.10.0.0-rc0
No Format |
---|
NOTE: as of 0.10.1 Kafka builds do not include Scala 2.12 yet, if you want to specifically create the artifacts for Scala 2.12, use ./gradlew releaseTarGz -PscalaVersion=2.12.1 |
Sign the artifacts
- Make sure you have gpg keys to sign the release artifacts
- Sign the artifacts:
- cd ../kafka-0.10.0.0-rc0
- Run the following commands (you may have to specify the gpg key to use via the `-u` option if you have multiple keys):
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
- cd ..
...