Travis/Releases
From charlesreid1
Set up Travis to perform releases by modifying travis.yml
Choices:
- Should travis build/upload a release with every commit? or only with tagged commits?
Oh yeah, then there's OAuth.
OAuth Process
Travis can use encrypted environment variables, so to give Travis (and only Travis) access to your Github account, and to put those details into your travis.yml file (which will be public), you can do the following:
- Log in to Github
- Open Settings, then open the Applications tab
- Add an API token
- Encrypt your API token
Example:
travis encrypt GH_OAUTH=2345abc123abc5555abcde2345ccc384838483848abcde --add env.global
Log in to Github