- 
                Notifications
    You must be signed in to change notification settings 
- Fork 9
Release process
        James Cancilla edited this page Aug 2, 2017 
        ·
        8 revisions
      
    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.Zinto bothmasteranddevelop:- 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 masteranddevelopto Github repo:git push
- Push the tag to the Github repo: git push --tags
- Generate a release on Github using the pushed tag
- DONE!