mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
Fix bintray release structure (#531)
Same file name is not allowed across packages in one version.
This commit is contained in:
parent
51d6780b04
commit
e77799b084
@ -1,31 +1,21 @@
|
||||
{
|
||||
"package": {
|
||||
"name": "${TRAVIS_OS_NAME}-bin",
|
||||
"name": "snapshots",
|
||||
"repo": "brotli",
|
||||
"subject": "eustas"
|
||||
},
|
||||
|
||||
"version": {
|
||||
"name": "${RELEASE_VERSION}",
|
||||
"desc": "Binary Artifacts (Snapshot)",
|
||||
"name": "${TRAVIS_OS_NAME}-${RELEASE_DATE}",
|
||||
"desc": "Binary Artifacts (Dev)",
|
||||
"released": "${RELEASE_DATE}",
|
||||
"gpgSign": false
|
||||
},
|
||||
|
||||
"files": [
|
||||
{
|
||||
"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",
|
||||
"includePattern": "brotli.zip",
|
||||
"uploadPattern": "brotli.zip",
|
||||
"matrix_params": {"override": 1}
|
||||
}
|
||||
],
|
||||
|
@ -91,8 +91,8 @@ case "$1" in
|
||||
case "${BUILD_SYSTEM}" in
|
||||
"bazel")
|
||||
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
|
||||
zip -j9 brotli.zip bazel-bin/libbrotli*.a bazel-bin/libbrotli*.so bazel-bin/bro
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user