Toolkit Release process
The following steps should be followed to generate a new release:
- In your local workspace, run
git flow release start vX.Y.Z(assuming git-flow is installed)- You should now be in the
release/vX.Y.Zbranch
- You should now be in the
- Bump
com.ibm.streamsx.kafka/info.xmlversion number - Generate a release by running
gradle release - Run a greenthread test against the release (not the toolkit in your git repo)
- Extract the generated release in
/tmp - Pick one of the samples and update the
toolkitPathvariable inbuild.gradleto point to/tmp/com.ibm.streamsx.kafka - Update the
etc/*.propertiesto point to a Kafka cluster - Run
gradle buildto build the sample - Run the sample:
streamtool submitjob output/<sample_name>/<sample_name>.sab - DELETE the toolkit from
/tmp
- Extract the generated release in
- Merge
release/vX.Y.Zintodevelop:gradle cleangit add com.ibm.streamsx.kafka/info.xmlgit commit -m "Update version to vX.Y.Z"git flow release finish vX.Y.Z
- Push
developto Github repo:git push - Push the tag to the Github repo:
git push --tags - Generate a release on Github using the pushed tag
- DONE!