i3/travis/push-balto.sh
Michael Stapelberg 46de32eedd
GitHub Actions: remove i386 autobuild packages (#5345)
They are newly failing since the previous commit (upgrading to Ubuntu focal),
so instead of debugging what the issue is, let’s just remove them entirely.
Not many i386 users are left, as the world is on amd64 and arm64 these days.
2023-01-02 12:24:54 +01:00

24 lines
525 B
Bash
Executable File

#!/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