aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/release.sh
blob: 4d08038926877bb5e76f0e53ba2035de277883b0 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
ID=$(docker build -q -f build/release/Dockerfile .)
if [ -z "$ID" ]; then
	echo "Failed to build docker image"
	exit 1
else
	docker run $ID sh -c "tar -c -f - libarchive-*" | tar -x -f -
fi