travis: push i3 autobuild packages to balto instead of bintray (#4345)
related to https://github.com/i3/i3/issues/4340
This commit is contained in:
committed by
GitHub
parent
5df0b4b571
commit
521949b567
@ -1,36 +0,0 @@
|
||||
{
|
||||
"package": {
|
||||
"name": "i3-wm",
|
||||
"repo": "i3-autobuild",
|
||||
"subject": "i3"
|
||||
},
|
||||
|
||||
"version": {
|
||||
"name": "%version%",
|
||||
"desc": "TODO",
|
||||
"gpgSign": false
|
||||
},
|
||||
|
||||
"files": [
|
||||
{
|
||||
"includePattern": "distbuild/deb/debian-amd64/(.*\\.deb)$",
|
||||
"matrixParams": {
|
||||
"deb_distribution": "sid",
|
||||
"deb_component": "main",
|
||||
"deb_architecture": "amd64"
|
||||
},
|
||||
"uploadPattern": "$1"
|
||||
},
|
||||
{
|
||||
"includePattern": "distbuild/deb/debian-i386/(.*\\.deb)$",
|
||||
"matrixParams": {
|
||||
"deb_distribution": "sid",
|
||||
"deb_component": "main",
|
||||
"deb_architecture": "i386"
|
||||
},
|
||||
"uploadPattern": "$1"
|
||||
}
|
||||
],
|
||||
|
||||
"publish": true
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{
|
||||
"package": {
|
||||
"name": "i3-wm",
|
||||
"repo": "i3-autobuild-ubuntu",
|
||||
"subject": "i3"
|
||||
},
|
||||
|
||||
"version": {
|
||||
"name": "%version%",
|
||||
"desc": "TODO",
|
||||
"gpgSign": false
|
||||
},
|
||||
|
||||
"files": [
|
||||
{
|
||||
"includePattern": "distbuild/deb/ubuntu-amd64/(.*\\.deb)$",
|
||||
"matrixParams": {
|
||||
"deb_distribution": "bionic",
|
||||
"deb_component": "main",
|
||||
"deb_architecture": "amd64"
|
||||
},
|
||||
"uploadPattern": "$1"
|
||||
},
|
||||
{
|
||||
"includePattern": "distbuild/deb/ubuntu-i386/(.*\\.deb)$",
|
||||
"matrixParams": {
|
||||
"deb_distribution": "bionic",
|
||||
"deb_component": "main",
|
||||
"deb_architecture": "i386"
|
||||
},
|
||||
"uploadPattern": "$1"
|
||||
}
|
||||
],
|
||||
|
||||
"publish": true
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
sed -i "s,%version%,$(git describe --tags),g" travis/bintray-autobuild-*.json
|
23
travis/push-balto.sh
Normal file
23
travis/push-balto.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
for fn in distbuild/deb/debian-amd64/*.deb distbuild/deb/debian-i386/*.deb
|
||||
do
|
||||
echo "pushing $fn to balto"
|
||||
curl \
|
||||
--header "Authorization: Bearer ${BALTO_TOKEN}" \
|
||||
--form "package=@${fn}" \
|
||||
--form distribution=all \
|
||||
https://i3.baltorepo.com/i3/i3-autobuild/upload/
|
||||
done
|
||||
|
||||
for fn in distbuild/deb/ubuntu-amd64/*.deb distbuild/deb/ubuntu-i386/*.deb
|
||||
do
|
||||
echo "pushing $fn to balto"
|
||||
curl \
|
||||
--header "Authorization: Bearer ${BALTO_TOKEN}" \
|
||||
--form "package=@${fn}" \
|
||||
--form distribution=all \
|
||||
https://i3.baltorepo.com/i3/i3-autobuild-ubuntu/upload/
|
||||
done
|
Reference in New Issue
Block a user