Packaging script
This commit is contained in:
parent
907e0464ed
commit
158c1742fe
1 changed files with 15 additions and 0 deletions
15
package.sh
Executable file
15
package.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
ADDON_NAME="AltSystem"
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
OUTPUT_DIR="$(mktemp -d)"
|
||||
OUTPUT_FILE="$OUTPUT_DIR/$ADDON_NAME.zip"
|
||||
|
||||
cd "$SCRIPT_DIR/.." && \
|
||||
zip -r "$OUTPUT_FILE" "$ADDON_NAME" \
|
||||
-x "*/.DS_Store" \
|
||||
-x "*/__MACOSX/*" \
|
||||
-x "*/.git/*" \
|
||||
-x "*/.git"
|
||||
|
||||
echo "$OUTPUT_FILE"
|
||||
Loading…
Add table
Add a link
Reference in a new issue