Skip to content
 
 

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uploading release binaries

Build Status

Create token

Create GitHub token with name like "Token for Travis CI deployment" and select public_repo (or repo). Keep in mind that this token is a private sensitive data! See:

Encrypt token

Encrypt your token using Travis CLI:

> sudo gem install travis
> which travis
/usr/bin/travis
> sudo travis encrypt -r username/reponame abc..YOUR.TOKEN.HERE...123

  secure: "...."

Add token

Copy secure: "..." string to .travis.yml:

before_deploy:
  - export FILE_TO_UPLOAD=$(ls _builds/*/Foo-*.tar.gz)

deploy:
  provider: releases
  api_key:
    - secure: "encrypted GITHUB OAUTH TOKEN"
  file_glob: true
  file: "${FILE_TO_UPLOAD}"
  skip_cleanup: true
  on:
    tags: true

Enable Multi-OS

os:
  - linux
  - osx

Deploy (Linux + OS X)

> git tag vA.B.C
> git push --tags

About

No description, website, or topics provided.

Resources

Stars

24 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages