0.8.
...
2 and forward release notes with Gradle
mkdir 0.8.12_RELEASE
cd 0.8.12_RELEASE/
git clone https://git-wip-us.apache.org/repos/asf/kafka.git kafka_0.8.12-src
cd kafka_0.8.12-src/
git checkout -b 0.8.1 2 origin/0.8.12
Go to JIRA and prepare/format the txt release notes (configure to change from html)
git tag -a 0.8.12.0
git push --tags
- git clone https://github.com/stealthly/bootstrap
- git checkout jdk6
- vagrant up
- vagrant ssh
- mkdir apache
- cd apache
- git clone http://git-wip-us.apache.org/repos/asf/kafka.git kafka
- cd kafka
- git checkout 0.8.12
- git log
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.8.12-src
- cd kafka-0.8.12-src
- cp -r ~/apache/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.8.12-src.tgz kafka-0.8.12-src/
- /vagrant/scripts/sign.sh kafka-0.8.12-src.tgz
- upload the artifacts to where you are staging them
- check they are there
- exit
- vagrant destroy
Setup another clean room
- vagrant up
- vagrant ssh
- download the files you signed and uploaded
- gpg kafka-0.8.1-src.tgz.asc
- /vagrant/scripts/verify.sh kafka-0.8.1-src.tgz
You should see valid signatures and no errors, if errors go back
- Gradle must be installed http://www.gradle.org/installation
- tar -xvf kafka-0.8.12-src.tgz
- cd kafka-0.8.12-src
- gradle
- ./gradlew clean
- cp your private gradle.properties to ~/.gradle
...
- ./gradlew releaseTarGzAll
- cd core/build/distributions/
- /vagrant/scripts/sign.sh kafka_2.8.0-0.8.1.tgz
- /vagrant/scripts/sign.sh kafka_2.8.2-0.8.1.tgz
- /vagrant/scripts/sign.sh kafka_2.9.1-0.8.1.tgz
- /vagrant/scripts/sign.sh kafka_2.9.2-0.8.1.tgz
- /vagrant/scripts/sign.sh kafka_2.10-0.8.1.tgz
...
- git clone https://github.com/stealthly/scala-kafka
- git checkout -b 0.8.12
- vagrant up
- ./gradlew test
...