We will use the following endpoint in the GitHub API to automate the release strategy: POST /repos/:owner/:repo/releases. The documentation for this endpoint can be found at https://developer.github.com/v3/repos/releases/#create-a-release. We will create a Golang script in the multiple-languages (https://github.com/packtci/multiple-languages ) GitHub repository that will create a new GitHub release.
Automated GitHub release example
Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.