mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
Actually publich artifacts to Bintray (#530)
This commit is contained in:
parent
6715130c24
commit
51d6780b04
@ -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
|
||||
|
@ -280,4 +280,3 @@ deploy:
|
||||
on:
|
||||
condition: "${BUILD_SYSTEM} = bazel"
|
||||
skip_cleanup: true
|
||||
dry-run: true
|
||||
|
Loading…
Reference in New Issue
Block a user