aboutsummaryrefslogtreecommitdiff
path: root/travis/push-balto.sh
blob: ffa5ee15ae90f93c523f5fb8e6fe899b1f45e5f8 (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 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