mirror of
https://github.com/google/brotli.git
synced 2024-11-25 13:00:06 +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": {
|
"package": {
|
||||||
"name": "${TRAVIS_OS_NAME}-bin",
|
"name": "snapshots",
|
||||||
"repo": "brotli",
|
"repo": "brotli",
|
||||||
"subject": "eustas"
|
"subject": "eustas"
|
||||||
},
|
},
|
||||||
|
|
||||||
"version": {
|
"version": {
|
||||||
"name": "${RELEASE_VERSION}",
|
"name": "${TRAVIS_OS_NAME}-${RELEASE_DATE}",
|
||||||
"desc": "Binary Artifacts (Snapshot)",
|
"desc": "Binary Artifacts (Dev)",
|
||||||
"released": "${RELEASE_DATE}",
|
"released": "${RELEASE_DATE}",
|
||||||
"gpgSign": false
|
"gpgSign": false
|
||||||
},
|
},
|
||||||
|
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"includePattern": "bazel-bin/(libbrotli.*\\.a)",
|
"includePattern": "brotli.zip",
|
||||||
"uploadPattern": "$1",
|
"uploadPattern": "brotli.zip",
|
||||||
"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}
|
"matrix_params": {"override": 1}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -91,8 +91,8 @@ case "$1" in
|
|||||||
case "${BUILD_SYSTEM}" in
|
case "${BUILD_SYSTEM}" in
|
||||||
"bazel")
|
"bazel")
|
||||||
export RELEASE_DATE=`date +%Y-%m-%d`
|
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
|
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
|
esac
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user