In my previous post I exposed the VSTS task for tag your GitHub source code, that in included in my VSTS extension “GitHub Tools Task” , published in the Visual Studio Marketplace at https://marketplace.visualstudio.com/items?itemName=KriefMikael.githubtools
For continue to improve this integration of GitHub inside DevOps pipeline in VSTS (Visual Team Services), I included another task in this extension to create a GitHub release with a release notes during your VSTS CI/CD pipeline. You can get more informations for create GitHub release manually in the GitHub documentation.
Fo create GitHub release, in your release definition, add the task “Create GitHub release” from the Utility category of VSTS task catalog
Parameters of this task are:
- Your GitHub service end point  and the GitHub repository 
- The tag value origine of the release 
- The source code branch 
- The release name 
- Check “use commit message…” for have the release with the commit message 
- The path of the zip file to upload as asset of the release  ,not required, leave blank for don’t have assets.
- Indicate is it’s draft release  and it’s Pre release 
After execution the VSTS release you can see the result in your GitHub repository, in release tab
You can also edit this release for add more details on the release note, add more assets files or publish this release.