From 8c06bf314d1b0fcff41495dce1b674827c6e60ee Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 6 Mar 2016 20:53:47 -0500 Subject: [PATCH] Added packaging script --- build/.gitignore | 3 +++ build/zip-it.sh | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 build/.gitignore create mode 100644 build/zip-it.sh diff --git a/build/.gitignore b/build/.gitignore new file mode 100644 index 0000000..bab80b8 --- /dev/null +++ b/build/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +!zip-it.sh \ No newline at end of file diff --git a/build/zip-it.sh b/build/zip-it.sh new file mode 100644 index 0000000..da58881 --- /dev/null +++ b/build/zip-it.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# zips Windows plugin binaries built by Docker to be uploaded on GitHub + +rm vlc-*-win.zip + +find ./*/ -type f | while read -r line; do + zip -j vlc-${line:2:5}-${line:8:2}bit-win.zip $line +done