aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2017-03-24 13:40:30 +0100
committerGitHub <noreply@github.com>2017-03-24 13:40:30 +0100
commit51d6780b04aea64e318503fee1317803247749f0 (patch)
treef6060b42d3f4100c9b9340d5bef263503b565ae1
parent6715130c2464f92dc749509bd74001938a0f907e (diff)
downloadbrotli-51d6780b04aea64e318503fee1317803247749f0.zip
brotli-51d6780b04aea64e318503fee1317803247749f0.tar.gz
brotli-51d6780b04aea64e318503fee1317803247749f0.tar.bz2
Actually publich artifacts to Bintray (#530)
-rw-r--r--.bintray.json21
-rwxr-xr-x.travis.sh2
-rw-r--r--.travis.yml1
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
diff --git a/.travis.sh b/.travis.sh
index 496cdef..7e3ad9c 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -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