Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • make sure your java is on jdk 1.7

Now make sure the log commit is the same of the tag you are sending out and that you checked out

  • cd ..
  • mkdir kafka-0.9.0.0-src
  • cd kafka-0.9.0.0-src
  • cp -r ../kafka/* .
  • git status

fatal: Not a git repository (or any of the parent directories): .git

  • if you did not get this you messed up somewhere please go back.

Now prepare the source (after getting your keys local to the box)

  • cd ..
  • tar -zcvf kafka-0.9.0.0-src.tgz kafka-0.9.0.0-src/
  • sign the artifact
    ( gpg --armor --output kafka-0.9.0.0-src.tgz.asc --detach-sig kafka-0.9.0.0-src.tgz

      gpg --print-md MD5 kafka-0.9.0.0-src.tgz > kafka-0.9.0.0-src.tgz.md5

      gpg --print-md SHA1 kafka-0.9.0.0-src.tgz > kafka-0.9.0.0-src.tgz.sha1

      gpg --print-md SHA512 kafka-0.9.0.0-src.tgz > kafka-0.9.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 JDK 7 is installed, setup your gradle.properties correctly (see README.md)

  • ./gradlew releaseTarGzAll
  • cd core/build/distributions/
  • /vagrant/scripts/sign.sh kafka_2.10-0.9.0.0.tgz
  • /vagrant/scripts/sign.sh kafka_2.11-0.9.0.0.tgz

...