summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2020-10-24 02:03:18 +0100
committerrafa_99 <rafa99@protonmail.com>2020-10-24 02:03:18 +0100
commit0cdb1fbe15d2ab9774fe750f8e26d0d015108f11 (patch)
tree91181d715b637f22d5502274572f9a19b720bd5a /build.sh
parentc137cbf93d057c6a985d85b35ee6c1e51eb05869 (diff)
Updated Scripts
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..36bf8a5
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+HOSTNAME=$(hostname)
+USERNAME=$(whoami)
+TIMESTAMP=$(date '+%Y%m%d_%H%M%S')
+EXCLUDE=$(find . -name "*placeholder*" | sed s:"\./"::g | xargs)
+
+zip -r "$USERNAME"_"$HOSTNAME"-"$TIMESTAMP".zip * -x .git README.md LICENSE build.sh $EXCLUDE