20 lines
419 B
Bash
20 lines
419 B
Bash
#!/bin/sh
|
|
# zipApp.sh -- create timestamped archive of the app
|
|
# set -e
|
|
|
|
# SRC="/workspace/lst_v3"
|
|
# DEST="/workspace/lst_v3/builds"
|
|
# TS=$(date +%Y%m%d_%H%M)
|
|
|
|
# mkdir -p "$DEST"
|
|
|
|
# zip -r "$DEST/lst_v3_$TS.zip" "$SRC" \
|
|
# -x "$SRC/.git/*" \
|
|
# -x "$SRC/node_modules/*" \
|
|
# -x "$SRC/.env" \
|
|
# -x "$SRC/logs/*" \
|
|
# -x "$SRC/zips/*"
|
|
|
|
# echo "Archive created at $DEST/lst_v3_$TS.zip"
|
|
|
|
echo "hello world |