Skip to content

Instantly share code, notes, and snippets.

@Inkimar
Created September 14, 2016 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Inkimar/5d10083c12052c17afbf56553ec43b96 to your computer and use it in GitHub Desktop.
Save Inkimar/5d10083c12052c17afbf56553ec43b96 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
@Inkimar
Copy link
Author

Inkimar commented Sep 14, 2016

List tags
> git tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment