Skip to content
Permalink
Browse files

ci: added branch info

  • Loading branch information
JaCzekanski committed Jul 29, 2019
1 parent 79b15f7 commit 59174731526753f397561e118be2f1bbd50f4b9d
Showing with 5 additions and 3 deletions.
  1. +4 −2 .travis/deploy.sh
  2. +1 −1 README.md
@@ -22,15 +22,17 @@ else
fi

REVISION="$(git rev-parse --short=7 HEAD)"
BRANCH=$TRAVIS_BRANCH
AUTHOR="$(git log -1 "$REVISION" --pretty="%aN")"
DATE="$(git log -1 "$REVISION" --pretty="%aI")"
MESSAGE="$(git log -1 "$REVISION" --pretty="%s")"
DATE="$(git log -1 "$REVISION" --pretty="%aI")"

curl -X POST \
-H "Authorization: Bearer $1" \
-H "X-Commit-Revision: $REVISION" \
-H "X-Commit-Branch: $BRANCH" \
-H "X-Commit-Author: $AUTHOR" \
-H "X-Commit-Date: $DATE" \
-H "X-Commit-Message: $MESSAGE" \
-H "X-Commit-Date: $DATE" \
$FILES -L \
https://avocado-builds.czekanski.info/api/upload
@@ -31,7 +31,7 @@ See [Avocado compatibility list](https://avocado-db.czekanski.info)

Build | Status | Download
--------|--------|---------
Travis CI (Linux) | [![Build Status](https://avocado-builds.czekanski.info/status/linux)](https://travis-ci.org/JaCzekanski/Avocado) |
Travis CI (Linux) | [![Build Status](https://avocado-builds.czekanski.info/status/linux64)](https://travis-ci.org/JaCzekanski/Avocado) |
Travis CI (macOS) | [![Build Status](https://avocado-builds.czekanski.info/status/macos)](https://travis-ci.org/JaCzekanski/Avocado) | [develop](https://avocado-builds.czekanski.info/latest/macos)
Travis CI (Android) | [![Build Status](https://avocado-builds.czekanski.info/status/android)](https://travis-ci.org/JaCzekanski/Avocado) | [develop](https://avocado-builds.czekanski.info/latest/android)
AppVeyor (Windows 64-bit, Visual Studio 2019) | [![Build status](https://ci.appveyor.com/api/projects/status/h1cs3bj1vhskjxgx/branch/develop?svg=true)](https://ci.appveyor.com/project/JaCzekanski/avocado/branch/develop) | **[develop](https://ci.appveyor.com/api/projects/JaCzekanski/avocado/artifacts/avocado.zip?branch=develop&job=Environment%3A+APPVEYOR_BUILD_WORKER_IMAGE%3DVisual+Studio+2019+Preview%2C+TOOLSET%3Dvs2017%2C+platform%3Dx64)**

0 comments on commit 5917473

Please sign in to comment.
You can’t perform that action at this time.