Skip to content

Commit

Permalink
chore: triggers homebrew formula update
Browse files Browse the repository at this point in the history
  • Loading branch information
rcruzper committed Dec 27, 2017
1 parent 090daa4 commit aa4bb40
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 67 deletions.
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
language: generic
script: "./deploy.sh"
env:
global:
- ENCRYPTION_LABEL: ea50756eca0f
- secure: BCvgps08hfR/bTBExS5AorCihffUuhskgfOH2p926u+xBObKHVS9dwsp8n2W+XlxCDCjXWUQtmbGlPi1eOKZnlfL8i6cMEa7ZAzjcGb8EGicwySA/zVNeb4eNzMhsFJGP4+T61zVi0uQNBFSEuFnpVftpBahafFf3/FZlj+9CvgEl9J6QTBU00aOHe1CXeAfqCtQLMpNYfJdqAWEnGpEouW4zb06ulkcOqNE87wn8y0R2kcvMb05pmIaYoMlStp/8M3NEJpTAgMTW0vnpX6pGOw7Z52K16m3SCIn7yeB+9r0+6buZLNevWAHxXMVCtADH3LoKy6OaFfs5BqBZGbCYgQPHeFOoEig78scptpm8IFLMTrydOe4Bi0bd+IYdEQ2Ns4CeDnSB16mPF+pyN+U9NHDoiguqvwA4PfC1J12oaD1tZFGTDTllPpkvo5WQIsfFWG8z1gYfBZROJ3RUBTIlakFjbtSYSxXAA+m1DL251CyKzbpJaVbi4JmAG5sD+ixiRlq9Y1vtdYxQ5CeB21o+bPvmv23Tn4OtP9MSP//lA55c5MGJjiQmlyaZfNNszeCrpnw6rkHguDSeAXMca76xBpEjSckDTsDKE52zF3eGIJYg1fvQTh5xYoyeYd/1DEL2xNsIaPmnl1v5bYwKEGxR5BP/IoPLwr8ZV+NBNh+658=
branches:
only:
- master
before_deploy:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- GIT_TAG=`git describe --abbrev=0 --tags | awk -F'[.]' '/^v/ {print $1"."$2"."$3+1}'`
- OLD_VERSION=`git describe --abbrev=0 --tags | awk -F'[.]' '/^v/ {print $1"."$2"."$3}' | cut -c 2-`
- NEW_VERSION=`git describe --abbrev=0 --tags | awk -F'[.]' '/^v/ {print $1"."$2"."$3+1}' | cut -c 2-`
- SHA256=`shasum -a 256 kps | cut -c -64`
- git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER"
deploy:
provider: releases
api_key:
secure: U1d+r8okigRkYYqVBs+lDqSFyuBTkvb1q7RD67JuupJdqSfW1tLFA62ruRwJJ2SJyhUPozs4CTUow/AvhJ2/WEtkYVDTxyRU4TF+QZm2Xtv2lSowyHBmyCCmBTqzj49g2mWpWcH9CW2zeIXQg/dq41bkmcSZRixYQijgTAuAkCATnIcWJ0mN3WqKSugrGI0AureJWtDfosCfFRBOqcp4WeXwwvn0v4JuMNX132tDd8Zel/9mHsbDbW93unlfdQ4nlXB4TgjOoFVo+WBLOBUfgbBaMXgmglAB0w1/ccCZnC2CjfXXMbNwoS3VtRNG9tb1cMoQqPlcjaRbZFDMV2BZlpqfWY3L8QJDFmVaTIiU0aBb1tWjXrOuyGgRlpN/hYXwePlTR+eNXzdQJHChRU+l2apC6xnQWrjjyiMkEX974ej45onuvVfdntPHBD4/UUY3luhJaO+MYj/xc/z3SbNdMMp/dcogWH9dtqsiTUwSHI9FY6IqXE4/1nwohWNON3eSDwlVHz4yCWeLtnvIphS229+3BlyYEOzgGrHasEO97xG2GiAavGL8bPeLKBlMnmo+0EsRfO2OfkQjp9BCreBfHloV/TjXTv9d/trOBnt+337RnNqWleK7oX9tG6XIEmOQzdKA/3PMo/xvUWV6K3eTNTBRSU0HWcfwhdNsXsXJ9s4=
secure: eGHtNhkIFp9gIDblFjlO23oefKeEGagKJjnS2ulcUcZ8z/K/49K51EG9ldT79HF14HrOT6gnGW8cQQoFSW/MHs5dMYVhHiOVOLNHZQlNK7UPMdUDa3FFO5tkMAAjWnU+B0VJY2WdD8KBgilPoqiv+N1//lyY8D69H/w4d9RdIyjlwLHXsjnvo+VWuMFXkWr8VikXAckIfHnw0tst7NSRW7Bpn1WbvlpwWEyXrRuO402y/OcAaqTKWh3WLPER+mulOQZbWZUm/L+F4reO481R2byIX5wIIc+EWln6ju2E36GfVMLznJkSWhrJapWqOQruXcp0EszKZCudrBz/BbwaOxSPWB6cDimvdKQ3L2DHsGstpB9TvBAb3LO/sBWlziBtXTAb0Dax+AfgWDWTYl4OQRFnYzrHEdrKYoKxfyzA7r/jBvcJ+djhqqX94CTuK9UCYMxIAK3oQDfBFsJOYTYmEP5xtIPbpxeiQ4roiucIW17BmaDRcvHJWfptDJfG/CbH9YDvDsMZXVWWGsoSaVg3aIQdWJ8nSDDRSxtJji9pe7UM25tlM1jfJI79UOpHwSVPg8MzeYU89qb7JB0Lh1WseC4d9BAQWGdSyrppaNbnJV2a1k9O4ZulWhmZ/rIBuPUucWVZn6NKbZaq7gfaBy0MN2bZOU5b3h9icbQSmR4VMyM=
file: kps
skip_cleanup: true
on:
condition: "$TRAVIS_TEST_RESULT == 0"
repo: rcruzper/kps
after_deploy:
- body="{\"request\":{\"version\":\"master\",\"config\":{\"env\":{\"old_version\":\"$OLD_VERSION\",\"formula\":\"kps\",\"new_version\":\"$NEW_VERSION\",\"sha256\":\"$SHA256\"}}}}"
- curl -s -X POST -H "Content-Type:application/json" -H "Accept:application/json" -H "Travis-API-Version:3" -H "Authorization:token $TRAVIS_API_TOKEN" -d "$body" https://api.travis-ci.org/repo/rcruzper%2Fhomebrew-tools/requests
61 changes: 0 additions & 61 deletions deploy.sh

This file was deleted.

Binary file removed deploy_key.enc
Binary file not shown.

0 comments on commit aa4bb40

Please sign in to comment.