diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2017-03-24 13:40:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 13:40:30 +0100 |
commit | 51d6780b04aea64e318503fee1317803247749f0 (patch) | |
tree | f6060b42d3f4100c9b9340d5bef263503b565ae1 | |
parent | 6715130c2464f92dc749509bd74001938a0f907e (diff) | |
download | brotli-51d6780b04aea64e318503fee1317803247749f0.zip brotli-51d6780b04aea64e318503fee1317803247749f0.tar.gz brotli-51d6780b04aea64e318503fee1317803247749f0.tar.bz2 |
Actually publich artifacts to Bintray (#530)
-rw-r--r-- | .bintray.json | 21 | ||||
-rwxr-xr-x | .travis.sh | 2 | ||||
-rw-r--r-- | .travis.yml | 1 |
3 files changed, 18 insertions, 6 deletions
diff --git a/.bintray.json b/.bintray.json index bf22247..98fa88d 100644 --- a/.bintray.json +++ b/.bintray.json @@ -6,15 +6,28 @@ }, "version": { - "name": "r${GIT_REVISION}", - "desc": "Snapshot Artifacts", + "name": "${RELEASE_VERSION}", + "desc": "Binary Artifacts (Snapshot)", "released": "${RELEASE_DATE}", "gpgSign": false }, "files": [ - {"includePattern": "bazel-bin/(libbrotli.*)", "uploadPattern": "$1"}, - {"includePattern": "bazel-bin/bro", "uploadPattern": "bro"} + { + "includePattern": "bazel-bin/(libbrotli.*\\.a)", + "uploadPattern": "$1", + "matrix_params": {"override": 1} + }, + { + "includePattern": "bazel-bin/(libbrotli.*\\.so)", + "uploadPattern": "$1", + "matrix_params": {"override": 1} + }, + { + "includePattern": "bazel-bin/bro", + "uploadPattern": "bro", + "matrix_params": {"override": 1} + } ], "publish": true @@ -90,8 +90,8 @@ case "$1" in "before_deploy") case "${BUILD_SYSTEM}" in "bazel") - export GIT_REVISION=`git rev-list --count @` export RELEASE_DATE=`date +%Y-%m-%d` + export RELEASE_VERSION=`date +snapshot.%Y.%m.%d` perl -p -i -e 's/\$\{([^}]+)\}/defined $ENV{$1} ? $ENV{$1} : $&/eg' .bintray.json ;; esac diff --git a/.travis.yml b/.travis.yml index bdc4300..5466c8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -280,4 +280,3 @@ deploy: on: condition: "${BUILD_SYSTEM} = bazel" skip_cleanup: true - dry-run: true |