diff options
-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 |