-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bb557c
commit 6972a6d
Showing
1 changed file
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,29 +28,23 @@ env: | |
global: | ||
- CLI_FEATURE_VERSION=0.9 | ||
- CLI_VERSION="${CLI_FEATURE_VERSION}.${TRAVIS_BUILD_NUMBER}" | ||
- secure: "CqCy43suRnKO3flLqWlEG4NB5zSVO9DlXTBQOd85Mf7dWTjuFYT8SsKbaAJisqqz3jGF4MO+aablQLzwrOgAlovHca0Eoi8kwVzJAzUoFk+Mm7MNQc1e0PW8XxCZwl3tBTIvEc5bHy58xsiABxrL4hvnR7zx64ET5spnrQabuVWLhk4dSrSftNVKfydMfOhxoDXuXapmLV89Pf0GJyc7UntgCG5M98Q0LBypshG1Mp07YP2fkRE62TvE7K7ipeipTZN6cEYUip7OzkB9c1WQRP6k8a6dYQ56zumAJhOs+DynXDgu/tF1zhisbEWXJsvDzx++obFpECTJeDQ2bZaGBD6J1/XcyMPU50HminMkGmwKva8xYMpYIEiM7UzAxZNg7hUNoOpA77jllhcY66+ZEmkrHsrTxgoOZE9V12NhwXrHZhjh+b0poolaXEwvY/gIZiuB+XlPNaSmtoSINLHKi9y4WHR4K4EHGQjVr8zCgA1VwYCoV9TmYxT3p7NLIjqx8dMbwl2tny3iRutKg95YYvC2Pg9ltaANw3/SlzrpsoDTG/dzWK3sC/UEBnheR/8EyhqxIA6+8EYq6fVOeiOqhnGYUgIQtpPjFQVN5YGaeNo4v9ksjD3XA5N2Y37aGUmJLZiAFdlZOTNPT6yk61fQowYaHkxvDA8d9p6FKTgo5Sk=" | ||
|
||
# if this isnt a PR, and we're building the master branch *only*, then lets tag | ||
# this version which will in turn trigger another build that the github release | ||
# will be cut from. | ||
after_success: | ||
- | | ||
if [ $TRAVIS_PULL_REQUEST = 'false' ]; then | ||
if [ $TRAVIS_BRANCH = 'master' ]; then | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Travis CI" | ||
git tag ${CLI_VERSION} -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER" | ||
git push -q https://[email protected]/getnelson/cli --tags | ||
fi | ||
fi | ||
before_deploy: | ||
- git tag ${CLI_VERSION} -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER" | ||
- export BODY=$(git log -1 --pretty='%s') | ||
|
||
deploy: | ||
provider: releases | ||
skip_cleanup: true | ||
api_key: | ||
secure: "TvJoJIIPBaCe8QSJp2t+KlW4vy99ZxlWojUGOiftYHltgBQRr01YKC1/uFt8+vAUjaZQ1iTjjX7qkeA18SIExdHFQrj+WIMrNKfC7Kkox/wkCq+b8N3IH1rS6uj13n7pRr9HRBWNooNE/bR63AFCVeut/rJM/fep0vOCRd+vKAocxqhOQ9DHo9WruoL9buMriUhtE+PaIs+Yfbi6ejnCZKxeCMyNaoG5VDGWC/LJhnGQkPYKFUM2xDy8KukqrNnzJiLRUlo6/UO3x8p8Lv1v+hhRIu7aaapQN8D/72jTU/OVRIV8ro2qkhLZ21x9y1d/4naCmvzggGLYpmkCr4aUB0Om6pLFvVXtaCSQnR9423NyiC+U2fFJ647nwljIkxmJ9pYVF0lnjTp2GulSua3+Y+oCi/hk6Gq4rwIqDIBKcrHdPIh/vqUIuRcCsIsIPwX97DMNtyha+S9JJK1karNaQ2O313Vs0z/XSMcB2i2vUvZtQF247v3XqqIc3S2Iq/t+RGaM/xLdINEtvyS8vO+JWMEdqr/0RFNbUCXuaQIFBhm8MCrg+zqSisMBl5KQaaQBGy6tPiPQ8Xf6NaLdBeORHdHQf/tkB3n427XTt+ZcoUPx+qIhUj3B2vfFIghToriHheCjPYrJDIJuF1QlqsTncNr4baiPrGG2YdvBkMaYD3A=" | ||
file_glob: true | ||
file: target/* | ||
api_key: | ||
secure: oJ095mwH0Eic/2MnKOBG0/4FwvFag7lz356vE5pOwXuGP9FQRq9AsuhhCuweRK6wc/cOc4qKEjYXv2TQMF6W716HzGNXJhe72PDX+MSx6QHL+PY2DnUUVaBEl3CG82p0XWAkEeO/pKX/3DjqhehazSVZZNj+s4bGj1I5HzdOQX85yAHtugFeNXmIUbpRTu1M53DpTny4K3dUu9CSyFLA5lqs/uhpIg9FsVkgEaJFijbvgH8kuUyLUSHCDhUD6JQRhhG+f5TYOn6+mOhxC1QLN1kzwh5Kvviw0UfB0h4QPPv6qbuqixwXTzcphWr5Bvvd0vjyd8Dwp5grRqQcUJLI7ACUfbx2C1qEAwgST3BZ45BLyKt51Cf37Yv8ngtjkMqinKh8wmhYU/ibyldc05S5mFR36SZg41BM5wvmQWginLKrb3pOjHIePHAu0LMGGoSKsPoR5lwCD9b4rdajCYlu/glyDh8cfAIWUmfIvKq1eJJJ2Iv/uZGFTQWcc5W4w+EwynUR52HKs5iFbVns/PPqNWeRlGGnFFwKWlCUWX5nriJt7eAF/SPCB1Y/d8TxrE4vwOFQwqtJU3iwMSTCAQymSkh5KQSXd+7NFenUNqZ7SurVDPBNIN1QDU0loFyNJJXXqSu9VYn/aZRn0PQtDUH9gWp/Oy97IzWTMMcZU2jsNlo= | ||
body: ${BODY} | ||
on: | ||
tags: true | ||
repo: getnelson/cli | ||
branch: master |