Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Yogendra0Sharma/97f3c9e991d463ca5a1ac8603c6e013e to your computer and use it in GitHub Desktop.
Save Yogendra0Sharma/97f3c9e991d463ca5a1ac8603c6e013e to your computer and use it in GitHub Desktop.
building a publishing a relese with travis-ci
Github and Travis
#prereq for travis installation:
1. install travis-cli
1.1 ruby --version
-> gives 2.3
(1.2 sudo apt-get install pkg-config)
1.2 sudo apt-get install build-essential
sudo apt-get install libffi-dev
#install travis
> sudo gem install travis
## generate a key per project
> travis setup releases
-> travis-cli writes the 'api_key to the .travis.yml-file
https://loads.pickle.me.uk/2015/08/22/easy-peasy-github-releases-for-go-projects-using-travis/
#How to publish a release :
1. git tag -a v0.3 -m 'Release 0.3'
2. git push --tags origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment