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.Z
branch
- You should now be in the
- Bump
com.ibm.streamsx.kafka/info.xml
version 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
toolkitPath
variable inbuild.gradle
to point to/tmp/com.ibm.streamsx.kafka
- Update the
etc/*.properties
to point to a Kafka cluster - Run
gradle build
to 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.Z
intodevelop
:gradle clean
git add com.ibm.streamsx.kafka/info.xml
git commit -m "Update version to vX.Y.Z"
git flow release finish vX.Y.Z
- Push
develop
to Github repo:git push
- Push the tag to the Github repo:
git push --tags
- Generate a release on Github using the pushed tag
- DONE!