Best practices for a deployment script

It is best to automate the deployment process when releasing new software for your consumers. It is not necessary to create a custom deployment script as we have done here as their are great libraries that you can use that are more structured and feature rich than this small script that we wrote. For example, you can use the GoReleaser (https://goreleaser.com/) automation release script that works fantastically  for Go projects. There are many libraries available that are language-specific as well as options in CI providers, such TravisCI ,that will deploy your software to providers, such as the Google App Engine (https://docs.travis-ci.com/user/deployment/google-app-engine/) and more.

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.