aboutsummaryrefslogtreecommitdiff
path: root/travis/push-balto.sh
blob: 4cd8bb1a5b68a984eec224b9d6c7b6a5cc28ebfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

for fn in distbuild/deb/debian-amd64/*.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
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