aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/release/release.sh')
-rwxr-xr-xbuild/release/release.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/release/release.sh b/build/release/release.sh
new file mode 100755
index 000000000000..4d0803892687
--- /dev/null
+++ b/build/release/release.sh
@@ -0,0 +1,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