aboutsummaryrefslogtreecommitdiffstats
path: root/build_segfault.sh
blob: 4d38ec657efceece97ed8c1268377259551bab40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e
dir="$PWD"
outdir=/srv/http/qutebrowser/qt-debug/x86_64
qtbuilddir="~/docker/archlinux-qtbuild"

ssh segfault mkdir -p "$qtbuilddir"
rsync -avPh --files-from=<(git ls-files) . segfault:"$qtbuilddir"
ssh segfault "$qtbuilddir/build_segfault_docker.sh"
rm "$outdir"/*
rsync -avPh segfault:"$qtbuilddir/out/" "$outdir"

for f in "$outdir"/*.pkg.tar.xz; do
    gpg --detach-sign --default-key 0xE80A0C82 "$f"
done

repo-add "$outdir/qt-debug.db.tar.gz" "$outdir"/*.pkg.tar.xz

cd "$dir"